Update FreeBSD configure_networks with less shell specifics
This commit is contained in:
parent
ea46109440
commit
3e1471fb53
|
@ -22,7 +22,7 @@ module VagrantPlugins
|
|||
temp.write(entry)
|
||||
temp.close
|
||||
|
||||
machine.communicate.upload(temp.path, "/tmp/vagrant-network-entry", {:shell => "sh"})
|
||||
machine.communicate.upload(temp.path, "/tmp/vagrant-network-entry")
|
||||
machine.communicate.sudo("su -m root -c 'cat /tmp/vagrant-network-entry >> /etc/rc.conf'", {:shell => "sh"})
|
||||
machine.communicate.sudo("rm /tmp/vagrant-network-entry", {:shell => "sh"})
|
||||
|
||||
|
|
Loading…
Reference in New Issue