++generate grub.cfg

This commit is contained in:
Nico Schottelius 2021-09-05 11:54:33 +02:00
parent 2a300157b5
commit 4c8051b5a2
1 changed files with 3 additions and 0 deletions

View File

@ -73,6 +73,9 @@ cat ${keyfile} > ${chroot_dir}/root/.ssh/authorized_keys
# Fix possible permission issue from above
chmod -R og-rwx ${chroot_dir}/root/
# Ensure boot loader has a configuration
chroot ${chroot_dir} grub-mkconfig -o /boot/grub/grub.cfg
################################################################################
# networking