Merge pull request #2620 from ShonM/master

guests/freebsd: Update FreeBSD configure_networks with less shell specifics
This commit is contained in:
Mitchell Hashimoto 2013-12-10 08:53:34 -08:00
commit ed4cfa913c
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"})