diff --git a/prepare-ubuntu-18.04-template.sh b/prepare-ubuntu-18.04-template.sh index 325d33c..09bb2c6 100755 --- a/prepare-ubuntu-18.04-template.sh +++ b/prepare-ubuntu-18.04-template.sh @@ -33,6 +33,11 @@ if [ -f /var/log/lastlog ]; then truncate -s0 /var/log/lastlog fi +# remove floppy support +sudo rmmod floppy +echo "blacklist floppy" | tee /etc/modprobe.d/blacklist-floppy.config +update-initramfs -u + #cleanup /tmp directories rm -rf /tmp/* rm -rf /var/tmp/*