lib/kitchen/driver/vagrant.rb in kitchen-vagrant-1.3.1 vs lib/kitchen/driver/vagrant.rb in kitchen-vagrant-1.3.2
- old
+ new
@@ -232,11 +232,11 @@
#
# @return [TrueClass,FalseClass] whether or not the name could be a Bento
# box
# @api private
def bento_box?(name)
- name =~ /^(centos|debian|fedora|freebsd|opensuse|ubuntu|oracle)-/
+ name =~ /^(centos|debian|fedora|freebsd|opensuse|ubuntu|oracle|hardenedbsd)-/
end
# Returns whether or not the we expect the box to work with shared folders
# by matching against a whitelist of bento boxes
# @return [TrueClass,FalseClass] whether or not the box shoud work with
@@ -352,10 +352,10 @@
# @api private
def finalize_network!
if config[:provider] == "hyperv" && config[:network].empty?
config[:network].push([
"public_network",
- "bridge: #{hyperv_switch}",
+ "bridge: \"#{hyperv_switch}\"",
])
end
end
# Loads any required third party Ruby libraries or runs any shell out