Skip to content

JSON Configuration File

Wei Luo edited this page Feb 28, 2017 · 2 revisions
{
    "VM_TYPE":                      1,                               /* 0: VM as host (nested virtualization) | 1: VM */
    "VM_TYPE_HOST_PATH":            "V:\\hostVM",                    // the full path if VM as host
    "VM_TYPE_VM_PATH":              "V:\\VM",                        // the full path if VM is not host
    "VM_PROJECT_NAME":              "Contoso",                       // the full path that all VMs files are saved in
    "VM_OS_DISK_TEMPLATE":          "D:\\BaseVHD\\WINDOWS10.VHDX",   // OS disk template, can be created by Deploy-VHD.ps1
    "VM_NUMBER":                    1,                               // How many VM will be created
    "VM_NAME_PREFIX":               "CT-CLI",                        // VM name prefix
    "VM_GENERATION":                2,                               // VM generation
    "VM_POWER_ON":                  0,                               // 0: Don't power on VM | 1: Power on VM
    "VM_NETWORK":      
                    {
                    "SWITCH":           "Internal-Switch",           // Switch name the NIC will be connected
                    "ADAPTER_NUMBER":   1                            // How many NIC adapters, up to 8
                    } ,    
    "VM_HARDWARE":  
                    {
                        "PROCESSOR_CORE": 4,                        // How many processors
                        "MEMORY": {
                                        "DYNAMIC":  0,              // 0: static memory | 1: dynamic memory
                                        "MAXIMUM":  "4GB",          // maximum memory, and static memory
                                        "MINIMUM":  "1GB",          // minimum memory
                                        "STARTUP":  "2GB"           // startup memory
                                  }, 
                        "DATA_DISK":   {
                                        "NUMBER": 0,                // how many data disks, up to 63
                                        "SIZE":   "100GB",          // disk size
                                        "TYPE":   0                 // should be 0 for dynamically expanding disk
                                    },
                        "DVD_DRIVE":    0,                          // 0: no DVD drive | 1: attach 1 DVD drive
                        "DVD_IMAGE":    ""                          // full path of ISO file if needs to attach
                      }
}

Clone this wiki locally