Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boot.ps1 move reboot task logic #21

Open
leshkinski opened this issue Feb 19, 2016 · 2 comments
Open

boot.ps1 move reboot task logic #21

leshkinski opened this issue Feb 19, 2016 · 2 comments
Labels

Comments

@leshkinski
Copy link
Contributor

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

@leshkinski leshkinski added the bug label Feb 19, 2016
@leshkinski leshkinski self-assigned this Feb 19, 2016
@leshkinski
Copy link
Contributor Author

Client testing completed successfully

@leshkinski
Copy link
Contributor Author

Pull server testing completed successfully

@leshkinski leshkinski removed their assignment May 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant