Commit Graph

55 Commits

Author SHA1 Message Date
JerryXiao e56480cce1
arch ??
copying home to overlayfs might not be a good idea
2021-03-01 13:17:53 +08:00
James Swineson 7b427dda4d
do not hard code arch while downloading images (#3) 2020-09-10 18:12:22 +08:00
James Swineson 730174ecc4
Update README.md 2020-08-09 15:59:12 +08:00
James Swineson 3f5b02d7cc
Update menhera.sh 2020-03-20 23:15:31 +08:00
James Swineson d411f9d414
fix /tmp/menhera.sh: line 178: /usr/bin/mount: No such file or directory 2020-03-20 23:01:39 +08:00
James Swineson 0a922ee794
Merge pull request #2 from imlonghao/patch-1
copy the real resolv.conf file
2020-03-02 14:23:38 +00:00
imlonghao 6d36f551df
copy the real resolv.conf file 2020-03-02 21:42:55 +08:00
James Swineson d231cdd499
workaround https://github.com/Jamesits/vps2routeros/issues/3 2020-01-07 11:51:22 +00:00
James Swineson 314560c125
correctly set tmpfs memory limit 2019-09-02 00:02:09 +08:00
James Swineson 38a0de0624
Update menhera.sh 2019-09-01 23:40:29 +08:00
James Swineson a42be69586
show only progress bar for wget 2019-09-01 23:35:00 +08:00
James Swineson 5fa45ae618
use wget instead of curl 2019-09-01 23:28:27 +08:00
James Swineson 72db133eef
remove tmpfs default 50% memory usage limit 2019-09-01 23:22:25 +08:00
James Swineson 2ad8723115
fix namespace 2019-09-01 22:59:02 +08:00
James Swineson bb8f548719
fix namespace 2019-09-01 22:49:56 +08:00
James Swineson 06e71d3b7b
use namespace menhera 2019-09-01 22:46:31 +08:00
James Swineson b996c0e7ee
use buster images 2019-08-24 15:12:31 +08:00
James Swineson 5ae24b650c
return instead of exit when --lib 2019-08-24 15:03:00 +08:00
James Swineson 9b00723bc4
add library mode 2019-08-24 14:42:32 +08:00
James Swineson d57d102509
update debian 9 to 10 to workaround an apt bug
terminate called after throwing an instance of 'std::runtime_error'
  what():  random_device::random_device(const std::string&)
2019-08-24 14:38:20 +08:00
James Swineson 775c6bd14b
disable APT package cache to save some space 2019-06-21 09:59:49 +08:00
James Swineson 30d6c09c1b
fix #1 2019-06-04 15:33:13 +08:00
James Swineson 4cdaba69de
finish environment compatibility changes 2019-04-13 11:07:17 +08:00
James Swineson 1bfea517cd
Update menhera.sh 2019-04-13 11:05:42 +08:00
James Swineson 088ce49da9
use telinit u instead of systemctl daemon-reexec 2019-04-13 10:49:47 +08:00
James Swineson f93155a332
Update README.md 2019-04-13 10:44:33 +08:00
James Swineson 714dac7121 update comments 2019-04-10 10:01:22 +08:00
James Swineson 78fcc92d6a add comment 2019-04-09 18:17:53 +08:00
James Swineson 34a5b324df update readme 2019-04-09 18:16:55 +08:00
James Swineson 8836d3133c update notice 2019-04-09 18:15:07 +08:00
James Swineson 47df8e9ef5 update URL parsing 2019-04-09 18:09:20 +08:00
James Swineson 5c163f0deb update comments 2019-04-09 17:59:37 +08:00
James Swineson 0d7394db9a reboot kernel on panic 2019-04-09 17:58:16 +08:00
James Swineson ae6e96849e update readme 2019-04-09 17:41:06 +08:00
James Swineson 6188b56af7 update README 2019-04-09 17:23:26 +08:00
James Swineson 209a10c626 update README 2019-04-09 17:16:27 +08:00
James Swineson 02b7cacaf5 update README 2019-04-09 17:15:03 +08:00
James Swineson bc9c47e855 !!! 2019-04-09 17:08:29 +08:00
James Swineson 2fda4ee7ba fix curl 2019-04-09 17:07:01 +08:00
James Swineson 6969d896cd correctly check for rootfs url 2019-04-09 17:05:54 +08:00
James Swineson f8d5462eb2 update LICENSE 2019-04-09 17:01:37 +08:00
James Swineson aa55c79205 try to get rootfs url automatically 2019-04-09 16:59:41 +08:00
James Swineson 3717d58dd0 move menhera to the new filesystem 2019-04-09 16:34:06 +08:00
James Swineson 4ad9d5e455 fix typo 2019-04-09 16:30:26 +08:00
James Swineson 9c1c25e4c9 restart ssh daemon immediately after swapping rootfs 2019-04-09 16:28:57 +08:00
James Swineson ce131b77ec some advertisements 2019-04-09 16:25:26 +08:00
James Swineson 0dd89ff33b do the cleanup in the background 2019-04-09 16:12:17 +08:00
James Swineson 0193f37946 wget resume after failure 2019-04-09 15:59:46 +08:00
James Swineson b47ac2bd6a do not fail if cannot find config 2019-04-09 15:59:03 +08:00
James Swineson 60c79ca99e fix cp path expanding 2019-04-09 15:58:04 +08:00