File tree 1 file changed +22
-0
lines changed
1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,28 @@ _to more resemble the Hyper-V steps._
60
60
should be installed), but the lab that runs the integration tests does _ not_
61
61
need Internet connectivity.
62
62
63
+ ### Setup the Hyper-V host
64
+
65
+ Run the following command to get the virtual machine and virtual machine
66
+ harddisk location:
67
+
68
+ ``` powershell
69
+ Get-VMHost | Select-Object -Property VirtualMachinePath,VirtualHardDiskPath
70
+ ```
71
+
72
+ Make sure the paths point to a location that has sufficient disk space,
73
+ especially the virtual machine harddisk location (` VirtualHardDiskPath ` ).
74
+ If the path need to change then run the below command and change the paths
75
+ as needed:
76
+
77
+ ``` powershell
78
+ $virtualMachinePath = 'E:\Hyper-V'
79
+ $virtualMachineHarddiskPath = 'E:\Hyper-V\Virtual Hard Disks'
80
+ New-Item -Path $virtualMachinePath -Type 'Directory' -Force | Out-Null
81
+ New-Item -Path $virtualMachineHarddiskPath -Type 'Directory' -Force | Out-Null
82
+ Set-VMHost -VirtualMachinePath $virtualMachinePath -VirtualHardDiskPath $virtualMachineHarddiskPath
83
+ ```
84
+
63
85
### Create Hyper-V base image template
64
86
65
87
There are many blog articles explaining this, just search for
You can’t perform that action at this time.
0 commit comments