You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write-Host "$diskName partition resized to $([math]::Round($maxSize/1GB)) GB"
143
143
}
144
+
145
+
# Remove the UserStorage_2 virtual disk as we will only use UserStorage_1 for the labs
146
+
Remove-VirtualDisk -FriendlyName UserStorage_2
144
147
```
145
148
146
149
**2. Verify the new sizes:**
@@ -161,16 +164,21 @@ You should also see updated values in the Azure Portal:
161
164
162
165
### Step 5: Configure the Environment
163
166
164
-
VM image:
167
+
#### VM image and storage paths
168
+
165
169
1. In the Azure Portal, navigate to your **Azure Local** instance
166
170
2. Select **VM images** in the left menu
167
171
3. Click **+ Add VM Image -> From Azure Marketplace** to start the VM image creation wizard
168
172

169
-
4. For the **Image to download** parameter, select **Windows Server 2025: Azure edition - Gen2**
170
-

171
-
5. Select **Review + create** and wait for the deployment to finish (on LocalBox, this takes approximately 2,5 hours due to use of nested VMs and a virtual router VM).
173
+
4. For the **Image to download** parameter, select **[smalldisk] Windows Server 2025: Azure edition - Gen2**
174
+

175
+
5. For the **Storage path** parameter, select **Choose manually** and the **UserStorage1** storage path.
176
+
6. Select **Review + create** and wait for the deployment to finish (on LocalBox, this takes approximately 2,5 hours due to use of nested VMs and a virtual router VM).
177
+
7. To avoid an issue with image file copies when many VMs are created in parallel, delete the storage path **UserStorage2**
178
+

179
+
180
+
#### Logical network
172
181
173
-
Logical network:
174
182
1. In the Azure Portal, navigate to your **Azure Local** instance
175
183
2. Select **Logical network** in the left menu
176
184
3. Click **+ Create logical network** to start the creation wizard
0 commit comments