Skip to content

Improve systemd ordering for cloud-init-local to preserve /var mount #70

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

Open
wants to merge 1 commit into
base: jammy-cloud-init-fixup
Choose a base branch
from

Conversation

jasonrayne
Copy link

This PR updates the initial systemd override to explicitly ensure the full /var mount is present before cloud-init-local.service starts.

When enrolling bare-metal overcloud nodes with Kayobe, I encountered an ordering issue that was seemingly caused by an insufficient dependency declaration.
This resulted in /var (and critical data such as authorized_keys) being overwritten during provisioning.
This commit updates the systemd override to explicitly ensure the full /var mount is present before cloud-init-local.service starts.
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.

1 participant