summaryrefslogtreecommitdiffstats
path: root/bootcd/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootcd/build.sh')
-rwxr-xr-xbootcd/build.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/bootcd/build.sh b/bootcd/build.sh
index 153ecf0..4cfee75 100755
--- a/bootcd/build.sh
+++ b/bootcd/build.sh
@@ -1,5 +1,8 @@
#!/bin/bash
+images="root@192.168.26.134:/virtual/images/"
+kickstart="http://ufo.kit.edu/ands/kickstart/"
+
#inst.stage2 in isolinux.cfg needs to match the label of ISO, to get lable use 'file <name.iso>' or 'isoinfo -d -i <name.iso>'
#Lantronix Spider does not provide CDROM labels (we can add inst.stage2=cdrom, but this may break booting on multicd systems)
centos74_label="CentOS 7 x86_64"
@@ -52,7 +55,7 @@ echo "Using configuration: $isolinux"
#Generating config
chmod +w $distrib/isolinux
chmod +w $distrib/isolinux/isolinux.cfg
-sed -e "s/@EXTRA@/$extra/g" $isolinux > $distrib/isolinux/isolinux.cfg || die "Can't overwrite the configuration"
+sed -e "s/@EXTRA@/$extra/g" -e "s/@KICKSTART@/$kickstart/g" $isolinux > $distrib/isolinux/isolinux.cfg || die "Can't overwrite the configuration"
#Creating output folder
mkdir -p iso
@@ -75,4 +78,4 @@ mkdir -p iso
)
#Installing
-scp iso/${isoname}.iso root@192.168.26.134:/virtual/images/
+scp iso/${isoname}.iso $images