From 6427576edd31d6f0bbb23eebae9ffbc65ad422bb Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Wed, 4 Mar 2020 16:19:38 -0800 Subject: [PATCH] Remove unused cleanup function --- .ci/spec/create-packet.sh | 9 --------- 1 file changed, 9 deletions(-) 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..."