-
Notifications
You must be signed in to change notification settings - Fork 127
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
feat(instance): add support for bootscript #652
Conversation
What happens when a user specifies a bootscript without changing the boot type ? We could either throw an error, or change the boot type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to set the bootype in create req event when no bootscript
Some questions:
- what about the update?
- what if the user sets the boot_type to local and a bootscript ID ? The states will mismatch, I think throwing an error would be better
A boot_type set to local and a bootscript are not mutually exclusive. This is actually the current behaviour of the API : a new instance inherits the default bootscript of the AZ, no matter whether its boot_type is set to local or not. The user might want to use local boot and have a bootscript of her choice already set, just in case. Conclusion: this should not throw an error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.