same situation,
private network doesnt give a DHCP address, error " An IP is required for a
private network."
my config line is: config.vm.network "private_network", type: "dhcp"
any hint ?
thanks
Le jeudi 25 juillet 2013 19:48:55 UTC+12, Robert Conrad a écrit :
>
> Hey,
>
> after updating Vagrant (OS X) from 1.2.2 to 1.2.4 I'm not able to
> configure a private network using a dynamic IP-address provided by
> VirtualBox-DHCP-server:
>
> config.vm.network :private_network, type: "dhcp"
>
>
> But the network interface in basebox expects to be configured via DHCP. Is
> that bug known?
>
> I researched on plugins/kernel_v2/config/vm.rb in the validate-method and
> theoretically it should work:
>
> [...]
> if type == :private_network
> if options[:type] != :dhcp
> if !options[:ip]
> errors << I18n.t("vagrant.config.vm.network_ip_required")
> end
> end
> end
> [...]
>
>
> It seems the option "type" is not passed to validate() correctly.
>
> Can you give me a hint how to get this working again, please?
>
> With kind regards
> Robert
>
--
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.