Remove unused cleanup function
This commit is contained in:
parent
c7f8ac8101
commit
6427576edd
@ -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..."
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user