Fix default values for shell provisioner config
This commit is contained in:
parent
b4590f9184
commit
2210765412
|
@ -22,6 +22,8 @@ BUG FIXES:
|
|||
- Fix bug in VirtualBox provider where port forwarding just didn't work if
|
||||
you attempted to forward to a port under 1024. [GH-1421]
|
||||
- Fix cross-device box adds for Windows. [GH-1424]
|
||||
- Fix minor issues with defaults of configuration of the shell
|
||||
provisioner.
|
||||
|
||||
## 1.1.0 (March 14, 2013)
|
||||
|
||||
|
|
|
@ -7,7 +7,16 @@ module VagrantPlugins
|
|||
attr_accessor :args
|
||||
|
||||
def initialize
|
||||
@upload_path = "/tmp/vagrant-shell"
|
||||
@args = []
|
||||
@inline = UNSET_VALUE
|
||||
@path = UNSET_VALUE
|
||||
@upload_path = UNSET_VALUE
|
||||
end
|
||||
|
||||
def finalize!
|
||||
@inline = nil if @inline == UNSET_VALUE
|
||||
@path = nil if @path == UNSET_VALUE
|
||||
@upload_path = "/tmp/vagrant-shell" if @upload_path == UNSET_VALUE
|
||||
end
|
||||
|
||||
def validate(machine)
|
||||
|
|
Loading…
Reference in New Issue