Packer Post Processor Virtualbox To Hyperv

Packer plugin to create Hyper-V vagrant boxes from VirtualBox artifacts
Alternatives To Packer Post Processor Virtualbox To Hyperv
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Vagrant25,3882,568146a day ago65March 13, 2014689otherRuby
Vagrant is a tool for building and distributing development environments.
Metasploitable34,162
2 months ago57otherHTML
Metasploitable3 is a VM that is built from the ground up with a large amount of security vulnerabilities.
Bento4,102
6 days ago6apache-2.0HCL
Packer templates for building minimal Vagrant baseboxes for multiple platforms
Vagrant Vbguest2,8628728 months ago74June 05, 202112mitRuby
A Vagrant plugin to keep your VirtualBox Guest Additions up to date
Trellis2,437
a month ago22mitJinja
WordPress LEMP stack with PHP 8.1, Composer, WP-CLI and more
Freeciv Web1,876
3 days ago90otherJavaScript
Freeciv-web is an Open Source strategy game implemented in HTML5 and WebGL, which can be played online against other players, or in single player mode against AI opponents.
Kubernetes Vagrant Centos Cluster1,827
a year ago17apache-2.0Shell
Setting up a distributed Kubernetes cluster along with Istio service mesh locally with Vagrant and VirtualBox, only PoC or Demo use.
Coreos Vagrant1,675
5 years ago11apache-2.0
Minimal Vagrantfile for Container Linux
Thimble.mozilla.org1,420
4 years ago258mpl-2.0JavaScript
UPDATE: This project is no longer maintained. Please check out Glitch.com instead.
Drupal Vm1,391121107 months ago99May 28, 202116mitJinja
A VM for Drupal development
Alternatives To Packer Post Processor Virtualbox To Hyperv
Select To Compare


Alternative Project Comparisons
Readme

Download

Packer post-processor: VirtualBox to Hyper-V

A packer plugin to create Hyper-V vagrant boxes from VirtualBox artifacts.

You can use this plugin without having Hyper-V installed.

Usage

Add the plugin to your packer template:

{
  "builders": [
    {
      "type": "vmware-iso", ...
    },
    {
      "type": "virtualbox-iso", ...
    }
  ],
  "post-processors": [
    {
      "type": "vagrant",
      "output": "output_{{.Provider}}.box",
    },
    {
      "type": "virtualbox-to-hyperv",
      "only": ["virtualbox-iso"],
      "output": "output_hyperv.box"
    }
  ]
}

This would generate a vagrant box for vmware, virtualbox and hyperv providers

In order for a box to work in Hyper-V, the guest VM will need Hyper-V integration tools installed. Otherwise, vagrant will not be able to determine the guest's IP address.

For some real examples, see packer templates for Windows 2008 R2 and Ubuntu 14.04.

Configuration

This plugin extends the Vagrant post-processor and accepts the same configuration options.

It also accepts this additional configuration:

  • vm_name (string) - the name of the virtual machine displayed in Hyper-V Manager. By default this is "packer-BUILDNAME", where "BUILDNAME" is the name of the build. Can be changed in the Vagrantfile by setting vmname in the hyperv provider.

Installation

  1. Download the plugin into the same directory as your packer executable.
  2. Add the plugin to ~/.packerconfig or %APPDATA%\packer.config on Windows:
{
  "post-processors": {
    "virtualbox-to-hyperv": "packer-post-processor-virtualbox-to-hyperv"
  }
}

See also Installing Plugins.

Credits

Based on MSOpenTech/packer-hyperv using the techniques described in Creating a Hyper-V Vagrant box from a VirtualBox vmdk or vdi image

Popular Virtualbox Projects
Popular Vagrant Projects
Popular Virtualization Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Golang
Plugin
Vagrant
Virtualbox
Packer
Hyperterm