From: Aaron Klingaman Date: Thu, 2 Dec 2004 19:41:22 +0000 (+0000) Subject: setup files on cd with boot server info X-Git-Tag: bootcd_3-0_beta1~18 X-Git-Url: http://git.onelab.eu/?p=bootcd.git;a=commitdiff_plain;h=c6d22e23b056bc1729292e62f9db8f03d2f1e940 setup files on cd with boot server info --- diff --git a/build.sh b/build.sh index 62630e9..5940d63 100755 --- a/build.sh +++ b/build.sh @@ -2,9 +2,18 @@ set -e -BOOTCD_VERSION="3.0" +BOOTCD_VERSION="3.0-beta0.1" FULL_VERSION_STRING="PlanetLab BootCD $BOOTCD_VERSION" +# which boot server to contact +BOOTSERVER='boot.planet-lab.org' + +# and on which port (protocol will be https) +BOOTSERVER_PORT='443' + +# finally, what path to request from the server +BOOTSERVER_PATH='boot/' + SYSLINUX_SRC=sources/syslinux-2.11.tar.bz2 ISO=cd.iso @@ -126,7 +135,14 @@ function build_initrd() echo "setup default network conf file" mkdir -p $CD_ROOT/usr/boot - cp -f $CONF_FILES_DIR/default-net.cnf $CD_ROOT/usr/boot + cp -f $CONF_FILES_DIR/default-net.cnf $CD_ROOT/usr/boot/ + + echo "setup boot server configuration" + cp -f $CONF_FILES_DIR/cacert.pem $CD_ROOT/usr/boot/ + cp -f $CONF_FILES_DIR/pubring.gpg $CD_ROOT/usr/boot/ + echo "$BOOTSERVER" > $CD_ROOT/usr/boot/boot_server + echo "$BOOTSERVER_PORT" > $CD_ROOT/usr/boot/boot_server_port + echo "$BOOTSERVER_PATH" > $CD_ROOT/usr/boot/boot_server_path echo "copying isolinux configuration files" cp -f $CONF_FILES_DIR/isolinux.cfg $CD_ROOT/usr/isolinux/