diff --git a/unattended.sh b/unattended.sh index e1cb639..2b4cdd1 100755 --- a/unattended.sh +++ b/unattended.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -xorriso -osirrox on -indev debian-11.3.0-amd64-netinst.iso -extract / isofiles +xorriso -osirrox on -indev ${1} -extract / isofiles sudo sed -i '/vesamenu.c32/d' isofiles/isolinux/isolinux.cfg if [[ $(grep timeout_style isofiles/boot/grub/grub.cfg) == "" ]]; then sudo sed -i 's/insmod play/set timeout_style=hidden\nset timeout=0\nset default=1\n\ninsmod play/' isofiles/boot/grub/grub.cfg;