systemctl enable has to be ran inside chroot
This commit is contained in:
parent
81383710e8
commit
c974405b23
1 changed files with 2 additions and 0 deletions
|
@ -16,7 +16,9 @@ ln -s /dev/null /etc/systemd/network/99-default.link
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Enable resize2fs for first boot (without having to log-in ssh)
|
# Enable resize2fs for first boot (without having to log-in ssh)
|
||||||
|
on_chroot << EOF
|
||||||
systemctl enable resize2fs_once
|
systemctl enable resize2fs_once
|
||||||
|
EOF
|
||||||
|
|
||||||
# For some reason curl doesnt recognize CA in any cert
|
# For some reason curl doesnt recognize CA in any cert
|
||||||
# and this is fixed by regerating links in /etc/ssl/certs/ ...
|
# and this is fixed by regerating links in /etc/ssl/certs/ ...
|
||||||
|
|
Loading…
Reference in a new issue