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

When sealer run, clean /var/lib/sealer/data/linux_amd64_ if exists #1815

Merged
merged 1 commit into from
Oct 26, 2022

Conversation

zhy76
Copy link
Member

@zhy76 zhy76 commented Oct 26, 2022

Signed-off-by: zhy76 [email protected]

Describe what this PR does / why we need it

Bug: if run fail, need clean /var/lib/sealer/data/linux_amd64_ manualy

Does this pull request fix one issue?

#1801

Describe how you did it

at mount.go, if /var/lib/sealer/data/linux_amd64_ exists,remove it before mount

Describe how to verify it

I made a test,if linux_amd64_ exits, we can see it can be deleted before mount

Special notes for reviews

Copy link
Member

@kakaZhou719 kakaZhou719 left a comment

Choose a reason for hiding this comment

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

LGTM

@kakaZhou719 kakaZhou719 merged commit 60e6f0a into sealerio:main Oct 26, 2022
Stevent-fei pushed a commit to Stevent-fei/sealer that referenced this pull request Oct 28, 2022
* Support ipv6 dual stack.

Signed-off-by: huaiyou <[email protected]>

bugfix: image save use ociv1 format (sealerio#1813)

* bugfix: image save use ociv1 format

* fix lint

clean /var/lib/sealer/data/linux_amd64_ before if exists (sealerio#1815)

Signed-off-by: zhy76 <[email protected]>

Signed-off-by: zhy76 <[email protected]>

delete cluster add prune options (sealerio#1793)

Signed-off-by: HIHIA <[email protected]>

Signed-off-by: HIHIA <[email protected]>

support sealer delete -f clusterfile flag

modify
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.

2 participants