diff --git a/tests/API-dhcp/Jenkinsfile b/tests/API-dhcp/Jenkinsfile index b027db1..3cef7d2 100644 --- a/tests/API-dhcp/Jenkinsfile +++ b/tests/API-dhcp/Jenkinsfile @@ -31,8 +31,10 @@ pipeline { } stage('Clean up') { steps { - echo "Destroy API server for DHCP with Vagrant" - sh 'vagrant destroy -f' + dir ('tests/API-dhcp') { + echo "Destroy API server for DHCP with Vagrant" + sh 'vagrant destroy -f' + } } } } diff --git a/tests/API-dhcp/Vagrantfile b/tests/API-dhcp/Vagrantfile index 9250a25..fdb2955 100644 --- a/tests/API-dhcp/Vagrantfile +++ b/tests/API-dhcp/Vagrantfile @@ -14,7 +14,7 @@ Vagrant.configure('2') do |config| # Use rsync and NFS synced folders. (or use the option to disable them) # https://www.vagrantup.com/docs/synced-folders/ #config.vm.synced_folder('.', '/vagrant', type: 'rsync') - config.vm.synced_folder('../../', '/vagrant', type: 'nfs', disabled: false) + config.vm.synced_folder('../../', '/vagrant', type: 'rsync')) # Vagrant can configure additional network interfaces using a static IP or # DHCP. Use public_network or private_network to manually set a static IP and