nix-community / nixbox

NixOS Vagrant boxes [maintainer=@ifurther]
https://app.vagrantup.com/nixbox/
MIT License
309 stars 101 forks source link

Add support for hyperV #26

Open PierreR opened 6 years ago

PierreR commented 6 years ago

It would be nice to build an hyperv box for the next 17.03.

I have had a try on this but haven't managed to go far because packer won't find the guest IP.

My guess is that the relevant hyperv driver needs to be installed from the boot_command.

PierreR commented 6 years ago

As an extra note, there is no vagrant/hyperv nixos box on Vagrant Atlas.

I am not even sure there is a nixos box for 17.09 ? Do you know if something better has come up that would fit the same purpose ?

For hyperV I might just install nixos manually and export it as a vagrant box afterward given that the installation process is quite straightforward. Thought it is a bit of a shame to lose that bit of automation.

zimbatm commented 6 years ago

Sounds good, PR for hyperv support are more than welcome.

The packer + vagrant environment is in a bit of a flux right now as they are deprecating atlas. It looks like Vagrant Cloud is the new solution to host the images and I will have to adapt the project to it. I'm thinking to use something like CircleCI but it wouldn't have access to the hyperv environment.