Merge pull request #4813 from derdanne/funtoo-guest-network-configuration

Update configure_networks.rb for funtoo
This commit is contained in:
Seth Vargo 2015-01-06 16:49:44 -05:00
commit 1fdee9e5c4
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ module VagrantPlugins
temp.binmode
temp.write(entry)
temp.close
comm.upload(temp.path, "/tmp/vagrant-network-entry-#{ifFile}")
comm.upload(temp.path, "/tmp/vagrant-#{ifFile}")
comm.sudo("cp /tmp/vagrant-#{ifFile} /etc/conf.d/#{ifFile}")
comm.sudo("chmod 0644 /etc/conf.d/#{ifFile}")
comm.sudo("ln -fs /etc/init.d/netif.tmpl /etc/init.d/#{ifFile}")