diff --git a/plugins/commands/package/command.rb b/plugins/commands/package/command.rb index bae90b8a5..4df9a28e0 100644 --- a/plugins/commands/package/command.rb +++ b/plugins/commands/package/command.rb @@ -16,7 +16,7 @@ module VagrantPlugins o.separator "Options:" o.separator "" - o.on("--base NAME", "Name of a VM in virtualbox to package as a base box") do |b| + o.on("--base NAME", "Name of a VM in VirtualBox to package as a base box (VirtualBox Only)") do |b| options[:base] = b end diff --git a/website/source/docs/cli/package.html.md b/website/source/docs/cli/package.html.md index af6de256a..053deafec 100644 --- a/website/source/docs/cli/package.html.md +++ b/website/source/docs/cli/package.html.md @@ -4,25 +4,24 @@ page_title: "vagrant package - Command-Line Interface" sidebar_current: "cli-package" description: |- The "vagrant package" command is used to package a currently-running - VirtualBox vagrant environment into a reusable Vagrant box. + VirtualBox or Hyper-V vagrant environment into a reusable Vagrant box. --- # Package **Command: `vagrant package [name|id]`** -This packages a currently running _VirtualBox_ environment into a +This packages a currently running _VirtualBox_ or _Hyper-V_ environment into a re-usable [box](/docs/boxes.html). This command can only be used with other [providers](/docs/providers/) based on the provider implementation -and if the provider supports it. A future version of Vagrant will -address packaging boxes for other providers. Until then, they must -be made by hand. +and if the provider supports it. ## Options * `--base NAME` - Instead of packaging a VirtualBox machine that Vagrant manages, this will package a VirtualBox machine that VirtualBox manages. `NAME` should be the name or UUID of the machine from the VirtualBox GUI. + Currently this option is only available for VirtualBox. * `--output NAME` - The resulting package will be saved as `NAME`. By default, it will be saved as `package.box`. diff --git a/website/source/docs/hyperv/limitations.html.md b/website/source/docs/hyperv/limitations.html.md index 22f7c0f8b..b4b2dc38d 100644 --- a/website/source/docs/hyperv/limitations.html.md +++ b/website/source/docs/hyperv/limitations.html.md @@ -28,12 +28,6 @@ However, the IP address of the machine will be reported as part of the `vagrant up`, and you can use that IP address as if it were a host only network. -## Packaging - -Vagrant does not implement the `vagrant package` command for Hyper-V -yet, though this should be fairly straightforward to add in a Vagrant -release in the near future. - ## Snapshots Restoring snapshot VMs using `vagrant snapshot pop` or