git://git.onelab.eu
/
bootcd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
for backwards compatibilty, copy primary server cacert to old directory
[bootcd.git]
/
build.sh
diff --git
a/build.sh
b/build.sh
index
c165075
..
409dda8
100755
(executable)
--- 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 "$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/
echo "forcing lvm to make lvm1 partitions (TEMPORARY)"
cp -f $CONF_FILES_DIR/lvm.conf $CD_ROOT/etc/lvm/