enable services in postbootstrap

This commit is contained in:
gh2o 2014-07-13 17:51:18 -07:00
parent f1d309edf1
commit cae6a5a512
1 changed files with 4 additions and 8 deletions

View File

@ -242,6 +242,10 @@ DNS=8.8.8.8
DNS=8.8.4.4
EOF
# enable services
chroot /archroot systemctl enable systemd-networkd
chroot /archroot systemctl enable sshd
}
error_occurred() {
@ -360,14 +364,6 @@ transitory_main() {
postinstall_main() {
# enable networkd
systemctl enable systemd-networkd
systemctl start systemd-networkd
# enable ssh
systemctl enable sshd
systemctl start sshd
# cleanup filesystem
rm -f /var/cache/pacman/pkg
mv /packages /var/cache/pacman/pkg