systemctl enable has to be ran inside chroot

This commit is contained in:
Alexandre Aubin 2021-11-27 21:26:22 +01:00
parent 81383710e8
commit c974405b23

View file

@ -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/ ...