diff --git a/BashScripts/vm-tweaks.sh b/BashScripts/vm-tweaks.sh index b1a63c6..07ff20d 100644 --- a/BashScripts/vm-tweaks.sh +++ b/BashScripts/vm-tweaks.sh @@ -7,9 +7,13 @@ fi REALUSER=$(logname) rmmod floppy > /dev/null 2>&1 && ( - echo Adding floppy to modprobe blacklist + echo "Adding floppy to modprobe blacklist" echo "blacklist floppy" | tee /etc/modprobe.d/blacklist-floppy.conf dpkg-reconfigure initramfs-tools ) +if [ ! -f "/etc/cloud/cloud-init.disabled" ]; then + echo "Disabling cloud-init" + touch /etc/cloud/cloud-init.disabled +fi -echo 'Installation complete' \ No newline at end of file +echo 'Installation complete. You should reboot to apply changes.' \ No newline at end of file