Skip to content

Commit

Permalink
Merge pull request #2620 from ShonM/master
Browse files Browse the repository at this point in the history
guests/freebsd: Update FreeBSD configure_networks with less shell specifics
  • Loading branch information
mitchellh committed Dec 10, 2013
2 parents 7956b29 + 3e1471f commit ed4cfa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/guests/freebsd/cap/configure_networks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def self.configure_networks(machine, networks)
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"})

Expand Down

0 comments on commit ed4cfa9

Please sign in to comment.