Skip to content

boot.ps1 move reboot task logic #21

@leshkinski

Description

@leshkinski

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions