summaryrefslogtreecommitdiffstats
path: root/share/scripts/debconf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-05-26 08:56:09 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-06-03 11:37:18 +0000
commit28cb58c98305c94b0816fc89805c73f528e63bc0 (patch)
tree74a821fb80f98adcd7c7d7914d4f052dcf8c3b03 /share/scripts/debconf
parentReplacing http links in manpages with https. (diff)
downloadcompute-tools-28cb58c98305c94b0816fc89805c73f528e63bc0.tar.xz
compute-tools-28cb58c98305c94b0816fc89805c73f528e63bc0.zip
Adding bind option to bind mount directories in debconf script.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/scripts/debconf')
-rwxr-xr-xshare/scripts/debconf1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf
index 55c2b8b..f4f63d4 100755
--- a/share/scripts/debconf
+++ b/share/scripts/debconf
@@ -908,6 +908,7 @@ Commands ()
HOST_INTERFACE_NAME="$(echo ${NETWORK0_VETH:-veth-${HOSTNAME_SHORT}-0})"
sed -i -e "s|^cnt.network-bridge=.*|cnt.network-bridge=${HOST_INTERFACE_NAME}:${NETWORK0_BRIDGE:-br0}|g" "${CONFIG}/${NAME}.conf"
+ sed -i -e "s|^bind=.*|bind=${BIND}|" "${CONFIG}/${NAME}.conf"
sed -i -e "s|^network-veth-extra=.*|network-veth-extra=${HOST_INTERFACE_NAME}:eth0|g" "${CONFIG}/${NAME}.conf"
for NUMBER in $(seq 1 ${NETWORK_NUMBER})