diff options
Diffstat (limited to 'kickstart/autocd')
-rwxr-xr-x | kickstart/autocd/build.sh | 17 | ||||
-rw-r--r-- | kickstart/autocd/isolinux/isolinux.cfg | 76 |
2 files changed, 93 insertions, 0 deletions
diff --git a/kickstart/autocd/build.sh b/kickstart/autocd/build.sh new file mode 100755 index 0000000..289b4e2 --- /dev/null +++ b/kickstart/autocd/build.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +if [ -n "bootcd/isolinux" ]; then + echo "1) Copy content of official CentOS boot CD to bootcd directory" + echo "2) Replace files provided in 'isolinux' directory" + exit +fi + +( + cd bootcd + chmod 664 isolinux/isolinux.bin + + rm -f ../centos74-ands.iso + mkisofs -o ../centos74-ands.iso -b isolinux/isolinux.bin -c boot.cat -no-emul-boot -V 'CentOS 7 x86_64' -boot-load-size 4 -boot-info-table -R -J -v -T . +) + +scp centos74-ands.iso root@192.168.26.134:/virtual/images/ diff --git a/kickstart/autocd/isolinux/isolinux.cfg b/kickstart/autocd/isolinux/isolinux.cfg new file mode 100644 index 0000000..e537309 --- /dev/null +++ b/kickstart/autocd/isolinux/isolinux.cfg @@ -0,0 +1,76 @@ +#ui vesamenu.c32 +#prompt 0 +#display boot.msg + +default auto +timeout 10 + +# Second port, 115200 baud +#serial 1 115200 + +label auto + menu label ^Kickstart CentOS 7 for Ands + kernel vmlinuz + append initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 console=tty1 console=ttyS1,115200 earlyprint=serial,ttyS1,115200 ip=dhcp inst.vnc inst.vncpassword=ipepdv inst.ks=http://ufo.kit.edu/ands/kickstart/ inst.ks.sendsn inst.ks.sendmac +# append initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 nomodeset text console=tty1 console=ttyS1,115200 earlyprint=serial,ttyS1,115200 ip=dhcp inst.vnc inst.vncpassword=ipepdv inst.ks=http://ufo.kit.edu/ands/kickstart/ inst.ks.sendsn inst.ks.sendmac + +label linux + menu label ^Install CentOS 7 + kernel vmlinuz + append initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 quiet + +label check + menu label Test this ^media & install CentOS 7 + menu default + kernel vmlinuz + append initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 rd.live.check quiet + +menu separator # insert an empty line + +# utilities submenu +menu begin ^Troubleshooting + menu title Troubleshooting + +label vesa + menu indent count 5 + menu label Install CentOS 7 in ^basic graphics mode + text help + Try this option out if you're having trouble installing + CentOS 7. + endtext + kernel vmlinuz + append initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 xdriver=vesa nomodeset quiet + +label rescue + menu indent count 5 + menu label ^Rescue a CentOS system + text help + If the system will not boot, this lets you access files + and edit config files to try to get it booting again. + endtext + kernel vmlinuz + append initrd=initrd.img inst.stage2=hd:LABEL=CentOS\x207\x20x86_64 rescue quiet + +label memtest + menu label Run a ^memory test + text help + If your system is having issues, a problem with your + system's memory may be the cause. Use this utility to + see if the memory is working correctly. + endtext + kernel memtest + +menu separator # insert an empty line + +label local + menu label Boot from ^local drive + localboot 0xffff + +menu separator # insert an empty line +menu separator # insert an empty line + +label returntomain + menu label Return to ^main menu + menu exit + +menu end |