parent
a112b072aa
commit
ba8d6ac630
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ module Vagrant
|
|||
def write_config(contents)
|
||||
confpath = base_path.join('config').to_s
|
||||
begin
|
||||
File.open(confpath, File::RDWR) do |file|
|
||||
File.open(confpath, File::WRONLY|File::TRUNC) do |file|
|
||||
file.write contents
|
||||
end
|
||||
rescue
|
||||
|
|
Loading…
Reference in a new issue