diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-02-27 07:11:59 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-02-27 07:11:59 +0100 |
commit | 1becded19ae6ca07e9f1483d8dcc14258bfb0b23 (patch) | |
tree | f51226f9a79a537f68fcaa28dda32a92bd5042e2 /kickstart/autocd/build.sh | |
parent | 4e5b055d02f7ab1f618fb2426cfff9ebc1c9678a (diff) | |
download | ands-1becded19ae6ca07e9f1483d8dcc14258bfb0b23.tar.gz ands-1becded19ae6ca07e9f1483d8dcc14258bfb0b23.tar.bz2 ands-1becded19ae6ca07e9f1483d8dcc14258bfb0b23.tar.xz ands-1becded19ae6ca07e9f1483d8dcc14258bfb0b23.zip |
Kickstart
Diffstat (limited to 'kickstart/autocd/build.sh')
-rwxr-xr-x | kickstart/autocd/build.sh | 17 |
1 files changed, 17 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/ |