Add v3.10 main and community repos earlier in provisioning
- Also install dhclient for some DHCP action
These are a couple of changes I'm suggesting.
After the image is ready, if your Vagrantfile config or VirtualBox network preferences aren't quite right, it's possible to run into network connectivity issues, which for me necessitates opening up a VNC to troubleshoot. Further, you can't do much except set a static IP without DHCP, so having dhclient really comes in handy.
Secondly, I suggest we work from the latest packages available on the main download mirror (though not edge or testing... but cdrom/main is bound to be somewhat behind).
strange, I didn't need to explicitly install dhclient before and dhcp worked fine with vagrant in libvirt and virtualbox. do you have more details about this?
sure... for whatever reason, sometimes when I ran make build-virtualbox packer would hang and never finish, and this was because of lack of network connectivity or SSH never becoming available post-reboot, which in turn depends on the settings one has under VirtualBox's 'Host Network Manager' (vboxnet0, etc.). Long story short, if those networks are not properly configured to be bridged or have DHCP and so on, the image will not build. In this situation I had to modify the provision script and open a VNC to the VM while Packer was in the middle of doing its job, and having dhclient helped.
I would understand if you view this as something like an unsupported edge case, but my view is DHCP client/utilities are an essential piece of any minimal base installation.
what I was trying to say was that dhclient is already installed, and I'm not sure why installing it again makes it work on your machine, I suspect something else is making it work/break.