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

podvm-mkosi: remove cloud-init #1532

Merged

Conversation

katexochen
Copy link
Contributor

@katexochen katexochen commented Oct 20, 2023

This is based on #1524, which should be reviewed and merged first.

Fixes #1467 (for x86, we should check with the IBM folks if they want to remove cloud init for s390x as well)

This requires DISABLE_CLOUD_CONFIG=true in your install/overlay/${CSP}/kustomization.yaml

@katexochen katexochen added the podvm Related to podvm images label Oct 20, 2023
@katexochen katexochen marked this pull request as draft October 20, 2023 13:58
@katexochen katexochen marked this pull request as ready for review November 2, 2023 07:47
@katexochen katexochen force-pushed the feat/mkosi-no-cloudinit branch 2 times, most recently from 5346d85 to dd8acc2 Compare November 13, 2023 14:22
pkg/adaptor/cloud/azure/provider.go Outdated Show resolved Hide resolved
podvm-mkosi/README.md Show resolved Hide resolved
We have our own mechanism to fetch metadata from IMDS. This is far more
flexible than using cloud init, especially regarding the upcoming switch
to an read-only root FS. Thus removing cloud init support for mkosi
images with this commit.

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
Some additional debug utils.

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
Copy link
Contributor

@mkulke mkulke left a comment

Choose a reason for hiding this comment

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

thanks, tested successfully

Comment on lines +18 to +20
iputils
curl
wget
Copy link
Contributor

Choose a reason for hiding this comment

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

unrelated?

Copy link
Member

@bpradipt bpradipt left a comment

Choose a reason for hiding this comment

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

/lgtm
Thanks @katexochen

@katexochen katexochen merged commit d0ce473 into confidential-containers:main Nov 17, 2023
19 checks passed
@katexochen katexochen deleted the feat/mkosi-no-cloudinit branch November 17, 2023 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
podvm Related to podvm images
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RFC: Remove cloud-config / cloud-init from PodVM Image?
3 participants