diff --git a/CHANGELOG.md b/CHANGELOG.md index 45375de31..80b54bae6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,8 @@ IMPROVEMENTS: systems. [GH-1671] - More precise detection of Ubuntu/Debian guests so that running Vagrant within an LXC container works properly now. + - Allow strings in addition to symbols to more places in V1 configuration + as well as V2 configuration. BUG FIXES: diff --git a/plugins/kernel_v1/config/vm.rb b/plugins/kernel_v1/config/vm.rb index 67e63cab6..239afa219 100644 --- a/plugins/kernel_v1/config/vm.rb +++ b/plugins/kernel_v1/config/vm.rb @@ -53,6 +53,9 @@ module VagrantPlugins end def network(type, *args) + # Convert to symbol so we can allow most anything... + type = type.to_sym if type + if type == :hostonly @networks << [:private_network, args] elsif type == :bridged