variabilized initial ISO name
This commit is contained in:
parent
439a95d808
commit
9104a1e701
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user