remove existing image first
This commit is contained in:
parent
25fe094289
commit
391a9063b6
@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
ISONAME=$(ls | grep "netinst.iso" | sort | tail -n1)
|
||||
rm -f $(echo ${ISONAME} | sed 's/netinst/unattended/')
|
||||
xorriso -osirrox on -indev ${ISONAME} -extract / isofiles
|
||||
sudo sed -i '/vesamenu.c32/d' isofiles/isolinux/isolinux.cfg
|
||||
if [[ $(grep timeout_style isofiles/boot/grub/grub.cfg) == "" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user