-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
The bootstrap reboot task will persist after client has downloaded its configuration and is in progress of applying it. This can be a problem if client has to reboot during the first application of the configuration, because client's DSC settings will be unnecessarily overwritten by the bootstrap task again.
Problem code:
https://github.com/rsWinAutomationSupport/DSCAutomation/blob/master/bootstrap/boot.ps1#L1388-L1392
Proposed solution:
Make the above a function and call just before client attempts to apply its final configuration:
https://github.com/rsWinAutomationSupport/DSCAutomation/blob/master/bootstrap/boot.ps1#L1385
Reactions are currently unavailable