Update FreeBSD configure_networks with less shell specifics

This commit is contained in:
Shon M 2013-12-09 17:27:54 -07:00
parent ea46109440
commit 3e1471fb53
1 changed files with 1 additions and 1 deletions

View File

@ -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"})