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

main: the systemd generator doesn't do anything on VMs #632

Merged
merged 4 commits into from
May 6, 2022

Conversation

simondeziel
Copy link
Contributor

No description provided.

@stgraber
Copy link
Member

stgraber commented May 5, 2022

The reason why we still include it in VMs is that a VM can be converted to a container with lxd-migrate.

The goal actually is to ship the systemd generator in all Ubuntu systems eventually so if they ever get converted to a container, they'll do the right thing.

@simondeziel simondeziel marked this pull request as draft May 5, 2022 12:55
@simondeziel
Copy link
Contributor Author

Alright, let me rework it then.

@simondeziel simondeziel force-pushed the systemd-generator branch 2 times, most recently from 6083372 to b7bd8a4 Compare May 5, 2022 21:45
@simondeziel simondeziel marked this pull request as ready for review May 5, 2022 21:46
But it is still useful in case the VM is later converted
to a container.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
The cloud-init detection is only done when the distro
ID matches.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
@simondeziel
Copy link
Contributor Author

@stgraber ready to go.

@stgraber stgraber merged commit 3213a90 into lxc:master May 6, 2022
@simondeziel simondeziel deleted the systemd-generator branch May 6, 2022 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants