sandialabs / sceptre-phenix

phenix is an orchestration tool and GUI for Sandia's minimega platform
https://sandialabs.github.io/sceptre-docs/
GNU General Public License v3.0
17 stars 23 forks source link

feat: Add a startup script delay to annotated domain controllers #151

Closed glattercj closed 1 year ago

glattercj commented 1 year ago

Adds a wait loop in the windows startup script if this annotation is added:

      annotations:
        phenix/domain-controller: "true"

The wait loop specifically waits for the Get-ADDomain command to return, meaning the machine has fully booted and active directory services have started. Without this delay, the DC machine may enter a reboot loop.

activeshadow commented 1 year ago

@glattercj looks good to me. Is there a specific reason you have it marked as draft? Are you still doing some testing?

Also, can you maybe add something to the documentation about this? We probably need to add a section on annotations so we can document this and some of the other Windows-specific annotations we have.