Skip to content

Commit

Permalink
Cleanup any tmp files set by vagrant to fix a permissions issue when …
Browse files Browse the repository at this point in the history
…switching users.
  • Loading branch information
stevehodgkiss committed Apr 2, 2012
1 parent 73b31b5 commit 092e8a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/vagrant/action/vm/network.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def call(env)
networks_to_configure = networks.select { |n| n[:_auto_config] }
env[:ui].info I18n.t("vagrant.actions.vm.network.configuring")
env[:vm].guest.configure_networks(networks_to_configure)
env[:vm].channel.sudo("su -c 'rm /tmp/vagrant-*'")
end
end

Expand Down

0 comments on commit 092e8a9

Please sign in to comment.