forked from tim/k3s-ansible
fix(ci): configure Ubuntu box prewarming
- Use the Molecule Ubuntu SSH settings when creating its linked-clone master - Bound a prewarm SSH failure to ten minutes - Verify the generated Vagrantfile in the master-preparation fixture
This commit is contained in:
committed by
Techno Tim
parent
4c50fbbe10
commit
bbca35331d
@@ -5,6 +5,9 @@ set -Eeuo pipefail
|
||||
printf '%s\n' "$*" >> "$MOCK_VAGRANT_LOG"
|
||||
case "${1:-}" in
|
||||
up)
|
||||
if [[ -n "${MOCK_VAGRANTFILE_CAPTURE:-}" ]]; then
|
||||
cp -- "$VAGRANT_CWD/Vagrantfile" "$MOCK_VAGRANTFILE_CAPTURE"
|
||||
fi
|
||||
counter_file="$MOCK_VBOX_STATE/counter"
|
||||
counter=0
|
||||
[[ ! -r "$counter_file" ]] || counter="$(cat "$counter_file")"
|
||||
|
||||
Reference in New Issue
Block a user