21 lines
312 B
Bash
Executable File
21 lines
312 B
Bash
Executable File
#!/usr/bin/env zsh
|
|
|
|
set -x
|
|
|
|
[[ -f ./lib.sh ]] && source ./lib.sh || exit 1
|
|
|
|
ssh-keygen -R "[127.0.0.1]:2222"
|
|
|
|
for os in ${OSBUILDS[@]}
|
|
do
|
|
if podman container exists ${CONTAINER}_${os}
|
|
then
|
|
podman stop ${CONTAINER}_${os}
|
|
fi
|
|
done
|
|
|
|
if [ "$HOSTOS" = "Darwin" ]
|
|
then
|
|
podman machine stop ${MACHINENAME}
|
|
fi
|