[CentOS-devel] Vagrant images for Hyper-V
lpancescu at gmail.com
Tue May 2 22:12:23 UTC 2017
On 02/05/17 21:00, Patrick Lang wrote:
> Once the VM boots, it still doesn’t get an IP. Ifconfig -a shows the right MAC address, but grepping dmesg for eth0 finds “udev: renamed network interface eth0 to eth1”. This is some time after hv_netvsc is loaded and has detected the right MAC.
Perhaps we should seal the Vagrant boxes.  I started a build, I'll
send you the links off-list.
> Can you point me to the scripts used to build the boxes? I'd like to get an idea of what’s there so I can provide PRs or feedback as the Hyper-V provider improves.
We're using Image Factory to build the boxes. It performs a single
netinst using KVM, and the resulting disk image is converted from the
qemu format to different formats like VMDK, VHD, etc. (this only affects
the image format, the files remain untouched as they were when the
installation ended - the box should be able to boot correctly).
Metadata is then generated for each virtualization type, and everything
packed together in Vagrant boxes for each provider we support. For
Hyper-V, probably HyperVOVFDescriptor.py is the most interesting part:
More information about the CentOS-devel