Skip to content

Commit

Permalink
remove auto-update disabling in gcp because agent does this now [#150…
Browse files Browse the repository at this point in the history
…223989]

Signed-off-by: David Jahn <[email protected]>
  • Loading branch information
Paul Nikonowicz authored and davidjahn committed Sep 8, 2017
1 parent 3ce7647 commit 61344be
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions bosh-psmodules/modules/BOSH.Sysprep/BOSH.Sysprep.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -229,16 +229,6 @@ function Create-Unattend-GCP() {
<Extend>true</Extend>
</ExtendOSPartition>
</component>
<component xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Description>Disable Windows Updates</Description>
<Order>1</Order>
<Path>C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -Command Disable-AutomaticUpdates</Path>
<WillReboot>Never</WillReboot>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<!-- Random ComputerName, will be replaced by specialize script -->
<ComputerName></ComputerName>
Expand Down

0 comments on commit 61344be

Please sign in to comment.