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

Don't set root-disk-source when using MAAS #279

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

dosaboy
Copy link
Member

@dosaboy dosaboy commented Dec 3, 2024

No description provided.

@@ -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
Copy link
Collaborator

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

Copy link
Member Author

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

Copy link
Collaborator

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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dosaboy dosaboy enabled auto-merge December 12, 2024 13:12
@dosaboy dosaboy added this pull request to the merge queue Dec 12, 2024
Merged via the queue into canonical:main with commit 921ee98 Dec 12, 2024
3 checks passed
@dosaboy dosaboy deleted the dont-set-root-disk-volume-for-maas branch December 12, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants