Merge pull request #93 from colandre/master
Force move on linux systems
This commit is contained in:
commit
fc1fde759d
|
@ -18,7 +18,7 @@ module VagrantPlugins
|
||||||
move_cmd = 'mv -force'
|
move_cmd = 'mv -force'
|
||||||
else
|
else
|
||||||
realhostfile = '/etc/hosts'
|
realhostfile = '/etc/hosts'
|
||||||
move_cmd = 'mv'
|
move_cmd = 'mv -f'
|
||||||
end
|
end
|
||||||
# download and modify file with Vagrant-managed entries
|
# download and modify file with Vagrant-managed entries
|
||||||
file = @global_env.tmp_path.join("hosts.#{machine.name}")
|
file = @global_env.tmp_path.join("hosts.#{machine.name}")
|
||||||
|
|
Loading…
Reference in New Issue