Expand disk size of OS drive step is failing in Initialize-VM.ps1 #5432
-
Hi There, My scrip is failing at the Initialize-VM.ps1 for Windows 2022 It's failing at this point of the code of Initialize-VM.ps1: What does this portion of the code do and can I comment it out? I have retried running it multiple times but always fails at this point :( Error: |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 11 replies
-
@Malaw80s what VM size do you use? You can try removing this line from the script: |
Beta Was this translation helpful? Give feedback.
-
I am having this problem running in South Central US in the latest version of main. |
Beta Was this translation helpful? Give feedback.
-
Same issue in Norway East. I'd wish for better logic in the "# Expand disk size of OS drive" step in Initialize-VM.ps1 |
Beta Was this translation helpful? Give feedback.
-
I am having the same issue with East US. |
Beta Was this translation helpful? Give feedback.
@Malaw80s what VM size do you use? You can try removing this line from the script:
https://github.com/actions/virtual-environments/blob/d6ddbcd278fd03cec014d3596dce618cca969046/images/win/scripts/Installers/Initialize-VM.ps1#L72-L76