Update documentation to mention packaging Hyper-V boxes.
This commit is contained in:
parent
730bca7b98
commit
833a7fdb3e
|
@ -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`.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue