projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05b9549
)
Restrict test image to DHCP provided resolvers
author
Tom Hughes
<tom@compton.nu>
Tue, 21 Jan 2020 18:46:37 +0000
(18:46 +0000)
committer
Tom Hughes
<tom@compton.nu>
Tue, 21 Jan 2020 18:46:57 +0000
(18:46 +0000)
.kitchen.provision.rb
patch
|
blob
|
history
diff --git
a/.kitchen.provision.rb
b/.kitchen.provision.rb
index 8398bd5497ec8f9ccbdff50b1299d6806b85f362..d2a08bf18f58c80d58bf3404216819137134e8df 100644
(file)
--- a/
.kitchen.provision.rb
+++ b/
.kitchen.provision.rb
@@
-1,5
+1,7
@@
Vagrant.configure(2) do |config|
config.vm.provision "shell", :inline => <<-SHELL
+ sed -i -e '/nameservers:/d' -e '/addresses:/d' /etc/netplan/01-netcfg.yaml
+ netplan apply
apt-get update -y
SHELL
end