GoogleCloudPlatform / GoogleCloudPlatform/compute-image-windows

BYOL Sysprep

Open
#234 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
112
Forks
68
PR merge metrics
No merged PRs in 30d

Description

sysprep/activate_instance.ps1 will skip activation if the following folder exists:

if (Test-Path "$env:ProgramFiles\Google\Compute Engine\sysprep\byol_image") {
Write-Output 'Image imported into GCE via BYOL workflow, skipping GCE activation'
exit
}

However what process creates this path? We have tried various byol.wf.json and it always appears to try and activate with kms.windows.googlecloud.com

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with sysprep/activate_instance.ps1 and trace the creation of the Google\Compute Engine\sysprep\byol_image path. Compare that behavior with the referenced byol.wf.json configurations and the activation attempt against kms.windows.googlecloud.com. Done means identifying which process should create the path and why activation is still attempted, with the finding documented or the behavior corrected.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.