-
Notifications
You must be signed in to change notification settings - Fork 519
Conversation
vhd/packer/sysprep.ps1
Outdated
@@ -0,0 +1,38 @@ | |||
# Stop and remove Azure Agents to enable use in Azure Stack | |||
# If deployed in azure vm the agents will be added to the vms at deployment time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you plan to stop DiagTrack?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We only want to stop DiagTrack in the pause image which is being done in: kubernetes/kubernetes#95950
2ec3a79
to
e72a629
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@@ -0,0 +1,36 @@ | |||
# Stop and remove Azure Agents to enable use in Azure Stack |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for pulling this out into a separate script!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/LGTM
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jackfrancis, jsturtevant, marosset The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* disabling managed identity for windows vhd build make test-kubernetes step * Disable Azure Agents and remove from sysprep Co-authored-by: marosset <[email protected]>
Reason for Change:
This PR unblocks the Windows VHD scripts by doing two things:
azure-arm: IMAGE_STATE_UNDEPLOYABLE - missing VMAgentDisabler.dll.
The VM agent doesn't do anything during sysprep so it is ok to remove it. If the image is deployed to Azure as a VM the agent will redeployed.USE_MANAGED_IDENTITY=false
Issue Fixed:
Credit Where Due:
Does this change contain code from or inspired by another project?
If "Yes," did you notify that project's maintainers and provide attribution?
Requirements:
Notes: