Update ubuntuInit.sh

This commit is contained in:
Molly Lau 2023-10-22 20:20:39 +09:00 committed by GitHub
parent 26e11c7bd5
commit f4436c3c72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -280,6 +280,8 @@ sed -ri 's/^#?Port.*/Port '${sshPORT}'/g' /mnt/etc/ssh/sshd_config
#
# Official cloud image of Rocky Linux 9.2:
# /usr/lib/python3.9/site-packages/cloudinit/*
#
# Servers provided by Akile.io also have static disrupt cloud-inits on device of "/dev/sr0" .
utilProgram=$(find /mnt/usr/lib/python* -name "util.py" | grep "cloudinit" | head -n 1)
sed -ri 's/iso9660/osi9876/g' $utilProgram