diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-06-29 11:39:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-06-29 11:39:16 +0000 |
commit | 251870158b34972626130b0f20c53b4ee321849a (patch) | |
tree | 4172459bf6c9d8085c9ea5d1c1c3d4fca736e179 /libexec/container/start | |
parent | Releasing debian version 20210411-1. (diff) | |
download | open-infrastructure-compute-tools-251870158b34972626130b0f20c53b4ee321849a.tar.xz open-infrastructure-compute-tools-251870158b34972626130b0f20c53b4ee321849a.zip |
Merging upstream version 20210628.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'libexec/container/start')
-rwxr-xr-x | libexec/container/start | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libexec/container/start b/libexec/container/start index 089aa7d..08c3611 100755 --- a/libexec/container/start +++ b/libexec/container/start @@ -131,6 +131,12 @@ then exit 1 fi +# options +if grep -Eqs "^ *cnt.start=" "${CONFIG}/${NAME}.conf" | grep -qs force +then + FORCE="true" +fi + case "${START}" in false) STATE="$(machinectl show ${NAME} 2>&1 | awk -FState= '/^State=/ { print $2 }')" |