summaryrefslogtreecommitdiffstats
path: root/kickstart/autocd
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-02-27 07:11:59 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-02-27 07:11:59 +0100
commit1becded19ae6ca07e9f1483d8dcc14258bfb0b23 (patch)
treef51226f9a79a537f68fcaa28dda32a92bd5042e2 /kickstart/autocd
parent4e5b055d02f7ab1f618fb2426cfff9ebc1c9678a (diff)
downloadands-1becded19ae6ca07e9f1483d8dcc14258bfb0b23.tar.gz
ands-1becded19ae6ca07e9f1483d8dcc14258bfb0b23.tar.bz2
ands-1becded19ae6ca07e9f1483d8dcc14258bfb0b23.tar.xz
ands-1becded19ae6ca07e9f1483d8dcc14258bfb0b23.zip
Kickstart
Diffstat (limited to 'kickstart/autocd')
-rwxr-xr-xkickstart/autocd/build.sh17
-rw-r--r--kickstart/autocd/isolinux/isolinux.cfg76
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