Commit Graph

41 Commits

Author SHA1 Message Date
gh2o 75a46e122d Merge branch 'dev' 2014-07-20 15:50:13 -07:00
gh2o fc8ae5595c migrate hostname 2014-07-20 15:49:24 -07:00
gh2o 060b203fbd fix typo 2014-07-20 15:43:58 -07:00
gh2o b5f5588ff5 parse_debian_interfaces avoid unbound variables errors 2014-07-20 15:40:37 -07:00
gh2o 3cc4f528a4 full network config 2014-07-20 15:32:12 -07:00
Gavin Li 736ed83726 all messages on stderr 2014-07-20 13:30:09 -07:00
gh2o aa951dec01 trap transitory exit with debug shell 2014-07-20 12:36:51 -07:00
gh2o f9edb94065 break out mask2prefix function 2014-07-20 12:05:16 -07:00
Gavin Li 6692713656 Merge pull request #2 from Red5d/patch-1
Calculate correct netmask in case prefixlen is not 24, 20, or 16
2014-07-20 11:38:56 -07:00
Red5d e18ed518c7 Calculate correct netmask
I've added a netmask cidr calculator function from here: http://www.linuxquestions.org/questions/programming-9/bash-cidr-calculator-646701/

Just tested this on Digital Ocean system and it works. The netmask is set correctly after the reboot and networking works.
2014-07-20 14:19:58 -04:00
gh2o e09bb60159 only test for run from file if possible, eliminate unnecessary subshell 2014-07-20 03:53:49 -07:00
gh2o 251b9a516e allow local running 2014-07-20 03:45:47 -07:00
Gavin Li adfc5b72b3 add instructions note 2014-07-19 22:30:16 -07:00
Gavin Li 34cd8696b3 README: add advanced configuration, known issues 2014-07-19 18:03:19 -07:00
gh2o c0941d3492 ensure basic internet config still works with private networking on 2014-07-19 17:51:01 -07:00
Gavin Li 6f77656033 Create README.md 2014-07-19 17:46:47 -07:00
gh2o 98f43f6640 add option to install haveged to speed things up 2014-07-13 21:48:38 -07:00
gh2o f96f095762 reorder code again 2014-07-13 21:33:29 -07:00
gh2o b04bb91f40 ensure script is executable 2014-07-13 21:30:56 -07:00
gh2o 2748e2279f reorder code 2014-07-13 21:01:17 -07:00
gh2o b2a608b0cf add checks 2014-07-13 20:57:56 -07:00
gh2o 4fccd6414b add kexec service 2014-07-13 20:23:17 -07:00
gh2o 3dc400e459 move cleanup to basic.target to avoid conflict 2014-07-13 19:50:27 -07:00
gh2o feb269ad3e add installer cleanup service 2014-07-13 19:39:38 -07:00
gh2o 55138c5896 remove archroot, optionally preserve home directories 2014-07-13 18:05:58 -07:00
gh2o 68ae1c660f copy over ssh keys 2014-07-13 18:00:58 -07:00
gh2o cae6a5a512 enable services in postbootstrap 2014-07-13 17:51:18 -07:00
gh2o f1d309edf1 not sure if archroot exists after reboot 2014-07-13 17:48:50 -07:00
gh2o 380df77b9e move config to pre-transitory 2014-07-13 17:47:19 -07:00
gh2o 8128439971 refactor functions, try to put more config into pre-transitory 2014-07-13 17:38:33 -07:00
gh2o 1344d5f674 run postinstall if run as service script in installer dir 2014-07-13 17:27:09 -07:00
gh2o 6097f9487d add FS cleanup 2014-07-13 17:18:08 -07:00
gh2o 7c5e1fb585 fix network config 2014-07-13 17:06:54 -07:00
gh2o 9ffe73e4a9 add openssh, post install code 2014-07-13 16:49:04 -07:00
gh2o b0a6033b63 reboot into OS 2014-07-13 15:56:52 -07:00
gh2o 29455435a9 gitignore 2014-07-13 14:47:26 -07:00
gh2o 9e090a658f install and link base system 2014-07-13 14:47:12 -07:00
gh2o 5be69b1c54 cleanly bootstrapped system 2014-07-12 13:28:07 -07:00
gh2o 5ddbc0071e get to actual installing 2014-07-12 13:12:46 -07:00
gh2o 4f038a972c initial extraction 2014-07-12 12:47:47 -07:00
gh2o c9dac46b7e initial commit 2014-07-12 12:43:54 -07:00