Gavin Li
399bf45a83
workaround for ca-certificate-utils-20150402-1
...
For some reason, ca-certificate-utils-20150402-1 removes
/etc/ssl/certs/ca-certificates.crt, which is needed by
curl, the http(s) backend for curl. Until either curl
is reconfigured or ca-certificates.crt is restored,
we must create it ourselves.
This fixes issue #10 .
2015-04-14 03:13:11 -07:00
Gavin Li
d7b49bfd15
generate /etc/resolv.conf from parsed interfaces using systemd-resolved
2015-01-06 01:38:57 -08:00
Gavin Li
351c2976c5
kill processes using archroot on installer exit
2015-01-05 21:36:18 -08:00
Gavin Li
99c1699ae6
avoid direct comparisions to script_path
2015-01-05 21:31:23 -08:00
Gavin Li
1338f4dc75
pass /etc/network/interfaces to parser script
2015-01-05 20:23:18 -08:00
Gavin Li
6476ff1046
remove old networking code
2015-01-05 20:11:50 -08:00
Gavin Li
2473784c85
add interfaces parsing script
2015-01-05 20:10:33 -08:00
Gavin Li
199edd5716
install systemd services as compat package
2015-01-04 23:55:17 -08:00
jeaye
dcd051f795
Update for changed ca-certificates
2014-12-14 10:58:10 +08:00
gh2o
b48f09e191
add support for other kernel packages (linux-lts)
...
fixes #4
2014-11-02 10:49:51 -08:00
gh2o
f023e80d2a
add test script
2014-10-04 17:12:42 -07:00
gh2o
031c638a80
mask2prefix fix naming convention
2014-09-27 20:54:05 -07:00
gh2o
654e88884c
generalize code for repositories, add package dir cache
2014-09-27 18:07:30 -07:00
gh2o
804dbc6714
die immediately if package not found
2014-09-27 15:15:44 -07:00
Mark Cornick
d969c46836
Add the extra repository
...
needed to find ca-certificates-mozilla dependency of ca-certificates
2014-09-27 14:22:56 -04:00
Gavin Li
d379c02308
update readme for both 32 and 64 bit
2014-08-28 01:42:44 -07:00
gh2o
8208ef52d9
set up the machine id
2014-08-28 01:34:57 -07:00
gh2o
626dda5df4
add 32 bit support
2014-08-27 18:27:42 -07:00
gh2o
fca1dce3b9
yes to remove archroot by default, accept all variants of yes
2014-07-24 22:46:27 -07:00
Gavin Li
500e9fcf59
add end marker
2014-07-21 10:58:28 -07:00
Gavin Li
cf830e524b
exit right in case junk appended to script
2014-07-21 10:56:37 -07:00
Gavin Li
af7d169238
all known issues are fixed so remove from README
2014-07-20 16:11:50 -07:00
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