-
Notifications
You must be signed in to change notification settings - Fork 26
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
Don't set root-disk-source when using MAAS #279
Don't set root-disk-source when using MAAS #279
Conversation
@@ -50,7 +50,7 @@ fi | |||
|
|||
if [ -n "${MASTER_OPTS[MODEL_CONSTRAINTS]}" ]; then | |||
juju set-model-constraints ${MASTER_OPTS[MODEL_CONSTRAINTS]} | |||
else | |||
elif ! ${MASTER_OPTS[HYPERCONVERGED_DEPLOYMENT]}; then |
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.
nit: not sure if the check should use "" in case the option is empty like above?
elif [ -n "${MASTER_OPTS[HYPERCONVERGED_DEPLOYMENT]}" ]; then
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.
HYPERCONVERGED_DEPLOYMENT defaults to false (bool) and is only ever set to true otherwise
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
@@ -50,7 +50,7 @@ fi | |||
|
|||
if [ -n "${MASTER_OPTS[MODEL_CONSTRAINTS]}" ]; then | |||
juju set-model-constraints ${MASTER_OPTS[MODEL_CONSTRAINTS]} | |||
else | |||
elif ! ${MASTER_OPTS[HYPERCONVERGED_DEPLOYMENT]}; then |
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.