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

Mount COS_PERSISTENT in cos-deploy #511

Merged
merged 1 commit into from
Aug 12, 2021

Conversation

mudlers
Copy link
Contributor

@mudlers mudlers commented Aug 12, 2021

Closes #510

Signed-off-by: Ettore Di Giacinto edigiacinto@suse.com

@mudlers mudlers force-pushed the use_cos_persistent_in_cos_deploy branch from 35b9efb to ee04c0a Compare August 12, 2021 10:50
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
@mudlers mudlers force-pushed the use_cos_persistent_in_cos_deploy branch from ee04c0a to 701f047 Compare August 12, 2021 10:51
@@ -89,6 +93,8 @@ mount_image() {
mount_state
fi

is_mounted /usr/local || mount ${PERSISTENT} /usr/local

Copy link
Contributor

Choose a reason for hiding this comment

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

should we umount this on clean2 just in case?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good question 🤔 It should not do any harm... on the other hand it might be helpful for the hooks if they have to do something in the COS_PERSISTENT partition

@Itxaka
Copy link
Contributor

Itxaka commented Aug 12, 2021

manually tested and it works as expected where the master script failed. nice!

@mudlers mudlers merged commit 1ef9d96 into rancher:master Aug 12, 2021
@mudlers mudlers deleted the use_cos_persistent_in_cos_deploy branch August 12, 2021 12:57
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.

Failure in creating AWS images
3 participants