2014-02-28 17:53:20 +00:00
|
|
|
---
|
|
|
|
page_title: "Configuration- Hyper-V Provider"
|
|
|
|
sidebar_current: "hyperv-configuration"
|
|
|
|
---
|
|
|
|
|
|
|
|
# Configuration
|
|
|
|
|
|
|
|
The Hyper-V provider has some provider-specific configuration options
|
|
|
|
you may set. A complete reference is shown below:
|
|
|
|
|
2015-01-14 14:59:01 +00:00
|
|
|
* `vmname` (string) - Name of virtual mashine as shown in Hyper-V manager.
|
|
|
|
Defaults is taken from box image XML.
|
|
|
|
* `cpus` (integer) - Number of virtual CPU given to mashine.
|
|
|
|
Defaults is taken from box image XML.
|
|
|
|
* `memory` (integer) - Number of MegaBytes allocated to VM at startup.
|
|
|
|
Defaults is taken from box image XML.
|
|
|
|
* `maxmemory` (integer) - Number of MegaBytes maximal allowed to allocate for VM
|
|
|
|
This parameter is switch on Dynamic Allocation of memory.
|
|
|
|
Defaults is taken from box image XML.
|
2015-03-30 16:29:06 +00:00
|
|
|
* `vlan_id` (integer) - Number of Vlan ID for your guest network interface
|
|
|
|
Defaults is not defined, vlan configuration will be untouched if not set.
|
2015-09-22 10:35:55 +00:00
|
|
|
* `mac` (string) - MAC address for your guest network interface
|
|
|
|
Default is not defined, MAC address will be dynamically assigned by Hyper-V if not set.
|
2014-02-28 17:53:20 +00:00
|
|
|
* `ip_address_timeout` (integer) - The time in seconds to wait for the
|
|
|
|
virtual machine to report an IP address. This defaults to 120 seconds.
|
|
|
|
This may have to be increased if your VM takes longer to boot.
|