enable services in postbootstrap
This commit is contained in:
parent
f1d309edf1
commit
cae6a5a512
12
install.sh
12
install.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue