Close the tempfile for shell provisioner [GH-1040]
This commit is contained in:
parent
883efcf282
commit
2b4920b4b6
|
@ -54,6 +54,7 @@ module VagrantPlugins
|
|||
begin
|
||||
file.write(config.inline)
|
||||
file.fsync
|
||||
file.close
|
||||
yield file.path
|
||||
ensure
|
||||
file.close
|
||||
|
|
Loading…
Reference in New Issue