From: Aaron Klingaman Date: Mon, 9 May 2005 17:04:11 +0000 (+0000) Subject: for backwards compatibilty, copy primary server cacert to old directory X-Git-Tag: BOOTCD_V_3_0_FINAL~2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=b8c8b04ba044ff1a472d226aa2dc1d8a14ed2cac;hp=636f223881e5f8593223a25ac3b12bea9736a6c6;p=bootcd.git for backwards compatibilty, copy primary server cacert to old directory /usr/bootme/cacert//cacert.pem --- diff --git a/build.sh b/build.sh index c165075..409dda8 100755 --- a/build.sh +++ b/build.sh @@ -176,6 +176,11 @@ function build_initrd() echo "$PRIMARY_SERVER" > $CD_ROOT/usr/bootme/BOOTSERVER_IP echo "$PRIMARY_SERVER_PORT" > $CD_ROOT/usr/bootme/BOOTPORT + echo "copying cacert to old boot cd directory bootme (TEMPORARY)" + mkdir -p $CD_ROOT/usr/bootme/cacert/$PRIMARY_SERVER/ + cp -f $CURRENT_CONFIG_DIR/$PRIMARY_SERVER_CERT \ + $CD_ROOT/usr/bootme/cacert/$PRIMARY_SERVER/cacert.pem + echo "forcing lvm to make lvm1 partitions (TEMPORARY)" cp -f $CONF_FILES_DIR/lvm.conf $CD_ROOT/etc/lvm/