diff --git a/.ci/spec/create-packet.sh b/.ci/spec/create-packet.sh index fee050381..c4ac144ad 100755 --- a/.ci/spec/create-packet.sh +++ b/.ci/spec/create-packet.sh @@ -9,15 +9,6 @@ root="$( cd -P "$( dirname "$csource" )/../" && pwd )" pushd "${root}" > "${output}" -# Define a custom cleanup function to destroy any orphan guests -# on the packet device -function cleanup() { - (>&2 echo "Cleaning up packet device") - unset PACKET_EXEC_PERSIST - pkt_wrap_stream "cd vagrant;VAGRANT_CWD=test/vagrant-spec/ VAGRANT_VAGRANTFILE=Vagrantfile.spec vagrant destroy -f" \ - "Vagrant command failed" -} - # Ensure we have a packet device to connect echo "Creating packet device if needed..."