From 3cd3e0abd0844fa35b4523ea396167c4a0a5fc78 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Tue, 7 Feb 2023 02:03:44 +0100 Subject: [PATCH] Random sleep might help idk -_- --- lib/lxc.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/lxc.sh b/lib/lxc.sh index 1378883..7dead88 100644 --- a/lib/lxc.sh +++ b/lib/lxc.sh @@ -36,7 +36,10 @@ LXC_CREATE () { [[ "$pipestatus" -eq 0 ]] || exit 1 _LXC_START_AND_WAIT $LXC_NAME + sleep 3 set_witness_files + sleep 3 + log_info "Creating initial snapshot $LXC_NAME ..." lxc snapshot $LXC_NAME snap0 }