summaryrefslogtreecommitdiffstats
path: root/lib/container/start
diff options
context:
space:
mode:
Diffstat (limited to 'lib/container/start')
-rwxr-xr-xlib/container/start24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/container/start b/lib/container/start
index b8803b2..41e8f72 100755
--- a/lib/container/start
+++ b/lib/container/start
@@ -243,6 +243,18 @@ then
;;
esac
+ LINK_JOURNAL="$(awk -F= '/^link-journal=/ { print $2 }' ${CONFIG}/${NAME}.conf || echo no)"
+
+ case "${LINK_JOURNAL}" in
+ yes)
+ LINK_JOURNAL="--link-journal=yes"
+ ;;
+
+ *)
+ LINK_JOURNAL="--link-journal=no"
+ ;;
+ esac
+
MACHINE="--machine=${NAME}"
NETWORK_VETH_EXTRA_CONF="$(awk -F= '/^network-veth-extra=/ { print $2 }' ${CONFIG}/${NAME}.conf)"
@@ -300,18 +312,6 @@ EOF
;;
esac
- LINK_JOURNAL="$(awk -F= '/^link-journal=/ { print $2 }' ${CONFIG}/${NAME}.conf || echo no)"
-
- case "${LINK_JOURNAL}" in
- yes)
- LINK_JOURNAL="--link-journal=yes"
- ;;
-
- *)
- LINK_JOURNAL="--link-journal=no"
- ;;
- esac
-
REGISTER="$(awk -F= '/^register=/ { print $2 }' ${CONFIG}/${NAME}.conf || echo yes)"
case "${REGISTER}" in