Update hyper-v website docs for new website format

This commit is contained in:
Brian Cain 2020-06-04 13:20:00 -07:00
parent 0139d8f020
commit 89678950ae
No known key found for this signature in database
GPG Key ID: 9FC4639B2E4510A0
5 changed files with 52 additions and 55 deletions

View File

@ -119,6 +119,7 @@ export default [
'configuration',
'usage',
{ category: 'virtualbox', content: ['usage', 'common-issues'] },
{ category: 'hyperv', content: ['usage', 'common-issues'] },
],
},
'multi-machine',

View File

@ -1,7 +1,7 @@
---
layout: "docs"
page_title: "Common Issues - Disks Hyper-V Provider"
sidebar_current: "disks-providers-hyperv-issues"
layout: docs
page_title: Common Issues - Disks Hyper-V Provider
sidebar_title: Common Issues
description: |-
This page lists some common issues people run into with Vagrant and Hyper-V
as well as solutions for those issues.

View File

@ -0,0 +1,33 @@
---
layout: docs
page_title: Disks for Hyper-V Provider
sidebar_title: Hyper-V
description: |-
Vagrant comes with support out of the box for Hyper-V, a free,
cross-platform consumer virtualization product.
---
# Hyper-V
~> **Warning!** This feature is experimental and may break or
change in between releases. Use at your own risk. It currently is not officially
supported or functional.
This feature currently reqiures the experimental flag to be used. To explicitly enable this feature, you can set the experimental flag to:
```
VAGRANT_EXPERIMENTAL="disks"
```
Please note that `VAGRANT_EXPERIMENTAL` is an environment variable. For more
information about this flag visit the [Experimental docs page](/docs/experimental/)
for more info. Without this flag enabled, any disks defined will not be configured.
Because of how Hyper-V handles disk management, a Vagrant guest _must_ be powered
off for any changes to be applied to a guest. If you make a configuration change
with a guests disk, you will need to `vagrant reload` the guest for any changes
to be applied.
For more information on how to use VirtualBox to configure disks for a guest, refer
to the [general usage](/docs/disks/usage) and [configuration](/docs/disks/configuration)
guide for more information.

View File

@ -1,7 +1,7 @@
---
layout: "docs"
page_title: "Usage - Disks Hyper-V Provider"
sidebar_current: "disks-providers-hyperv-usage"
layout: docs
page_title: Usage - Disks Hyper-V Provider
sidebar_title: Usage
description: |-
The Vagrant Hyper-V provider is used just like any other provider. Please
read the general basic usage page for providers.
@ -9,24 +9,22 @@ description: |-
# Usage
<div class="alert alert-warning">
<strong>Warning!</strong> This feature is experimental and may break or
change in between releases. Use at your own risk. It currently is not officially
supported or functional.
~> **Warning!** This feature is experimental and may break or
change in between releases. Use at your own risk. It currently is not officially
supported or functional.
This feature currently reqiures the experimental flag to be used. To explicitly enable this feature, you can set the experimental flag to:
This feature currently reqiures the experimental flag to be used. To explicitly enable this feature, you can set the experimental flag to:
```
VAGRANT_EXPERIMENTAL="disks"
```
```
VAGRANT_EXPERIMENTAL="disks"
```
Please note that `VAGRANT_EXPERIMENTAL` is an environment variable. For more
information about this flag visit the [Experimental docs page](/docs/experimental/)
for more info. Without this flag enabled, any disks defined will not be configured.
</div>
Please note that `VAGRANT_EXPERIMENTAL` is an environment variable. For more
information about this flag visit the [Experimental docs page](/docs/experimental/)
for more info. Without this flag enabled, any disks defined will not be configured.
For examples of how to use the disk feature with Hyper-V, please refer to the
[general disk usage guide](/docs/disks/usage.html) for more examples.
[general disk usage guide](/docs/disks/usage) for more examples.
## provider_config options
@ -35,7 +33,7 @@ Vagrant supports most options for these operations. You should be able to define
the powershell specific argument to a given Hyper-V command in the provider_config
hash, and Vagrant should properly pass it along to the command.
To define a provider specific option, please refer to the [Disk Options documentation page](/docs/disks/configuration.html) for more info.
To define a provider specific option, please refer to the [Disk Options documentation page](/docs/disks/configuration) for more info.
### Note about options defined below

View File

@ -1,35 +0,0 @@
---
layout: "docs"
page_title: "Disks for Hyper-V Provider"
sidebar_current: "disks-providers-hyperv"
description: |-
Vagrant comes with support out of the box for Hyper-V, a free,
cross-platform consumer virtualization product.
---
# Hyper-V
<div class="alert alert-warning">
<strong>Warning!</strong> This feature is experimental and may break or
change in between releases. Use at your own risk. It currently is not officially
supported or functional.
This feature currently reqiures the experimental flag to be used. To explicitly enable this feature, you can set the experimental flag to:
```
VAGRANT_EXPERIMENTAL="disks"
```
Please note that `VAGRANT_EXPERIMENTAL` is an environment variable. For more
information about this flag visit the [Experimental docs page](/docs/experimental/)
for more info. Without this flag enabled, any disks defined will not be configured.
</div>
Because of how Hyper-V handles disk management, a Vagrant guest _must_ be powered
off for any changes to be applied to a guest. If you make a configuration change
with a guests disk, you will need to `vagrant reload` the guest for any changes
to be applied.
For more information on how to use VirtualBox to configure disks for a guest, refer
to the [general usage](/docs/disks/usage.html) and [configuration](/docs/disks/configuration.html)
guide for more information.