Update ubuntuInit.sh

This commit is contained in:
Molly Lau 2023-10-30 02:21:46 +09:00 committed by GitHub
parent b92a4e1446
commit db3d9db4b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -142,7 +142,7 @@ echo 'datasource_list: [ NoCloud, None ]' >/mnt/etc/cloud/cloud.cfg.d/90_dpkg.cf
}
# Create a soft link between /boot/grub/* and /boot/grub2/*
ln -s /mnt/boot/grub/ /mnt/boot/grub2
# ln -s /mnt/boot/grub/ /mnt/boot/grub2
# Disable sshd service to read configs from "ssh.socket" otherwise any changes on "/etc/ssh/sshd_config" will not take effects after Ubuntu 22.10, 23.04, 23.10… .
# This is a preparation for dealing with the future versions of Ubuntu for example Ubuntu 24.04 LTS and later.