Update configure_networks.rb for funtoo

fixed name of temporary network configuration file to work with the further process of copying file to configuration directory
This commit is contained in:
Daniel Klockenkämper 2014-11-11 15:12:48 +01:00
parent 39ab4f520b
commit 8066c38881
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}")