diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-08-12 22:47:11 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-08-12 22:47:16 +0000 |
commit | f64c048f0da35c1bdd124688360549f7544406a9 (patch) | |
tree | 11fa3ad1f4b70fc1ded1ab92d6bbbc85abf3dd1c /lib | |
parent | Releasing debian version 20190301-lts1-2. (diff) | |
download | open-infrastructure-compute-tools-f64c048f0da35c1bdd124688360549f7544406a9.tar.xz open-infrastructure-compute-tools-f64c048f0da35c1bdd124688360549f7544406a9.zip |
Merging upstream version 20190301-lts2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/container/start | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/container/start b/lib/container/start index 82f9314..e1a5fb6 100755 --- a/lib/container/start +++ b/lib/container/start @@ -408,8 +408,15 @@ case "${SYSTEMCTL}" in ;; esac -# Run -${SETARCH} systemd-nspawn --keep-unit ${BIND} ${BIND_RO} ${BOOT} ${CAPABILITY} ${DIRECTORY} ${DROP_CAPABILITY} ${MACHINE} ${NETWORK_VETH_EXTRA} ${LINK_JOURNAL} ${REGISTER} +case "${START}" in + true) + ;; + + *) + # Run + ${SETARCH} systemd-nspawn --keep-unit ${BIND} ${BIND_RO} ${BOOT} ${CAPABILITY} ${DIRECTORY} ${DROP_CAPABILITY} ${MACHINE} ${NETWORK_VETH_EXTRA} ${LINK_JOURNAL} ${REGISTER} + ;; +esac # Post hooks for FILE in "${HOOKS}/post-${COMMAND}".* "${HOOKS}/${NAME}.post-${COMMAND}" |