diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-06-29 11:29:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-06-29 11:38:54 +0000 |
commit | e07edad5f45907e9c7f4d6c24823b80cbe282316 (patch) | |
tree | eb4049b82fc0765fe2f5d731ef52a3a15cdcd282 /libexec/container/start | |
parent | Adding upstream version 20210411. (diff) | |
download | open-infrastructure-compute-tools-e07edad5f45907e9c7f4d6c24823b80cbe282316.tar.xz open-infrastructure-compute-tools-e07edad5f45907e9c7f4d6c24823b80cbe282316.zip |
Adding upstream version 20210628.upstream/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 }')" |