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

Allow to pass config files to cloud-init device #208

Closed
lstocchi opened this issue Oct 15, 2024 · 1 comment
Closed

Allow to pass config files to cloud-init device #208

lstocchi opened this issue Oct 15, 2024 · 1 comment
Assignees

Comments

@lstocchi
Copy link
Contributor

#123 adds a first implementation to pass configuration to cloud-init so that it can set the system at boot time. However it just allows to pass an ISO image which must be built by the user in advance.

It could be useful to give users the chance to pass just their config files and make vfkit create the iso image itself.

So far we have
--device cloud-init,path=<iso_image_path>

What we could offer is
--device cloud-init,user_data=<file_path>,meta-data=<file_path>....

@lstocchi lstocchi self-assigned this Feb 24, 2025
@lstocchi lstocchi moved this to Ready for review in Project planning: crc Feb 26, 2025
lstocchi added a commit to lstocchi/podman that referenced this issue Feb 26, 2025
when using a RHEL VM cloud-init is preferred over ignitioni for customizing the VM.
With crc-org/vfkit#208 vfkit will be able to accept
raw config files to enable cloud-init.

This patch adds the logic to create a user-data config file to register users + their ssh key by leveraging cloud-init

Signed-off-by: Luca Stocchi <[email protected]>
lstocchi added a commit to lstocchi/podman that referenced this issue Feb 26, 2025
when using a RHEL VM cloud-init is preferred over ignitioni for customizing the VM.
With crc-org/vfkit#208 vfkit will be able to accept
raw config files to enable cloud-init.

This patch adds the logic to create a user-data config file to register users + their ssh key by leveraging cloud-init

Signed-off-by: Luca Stocchi <[email protected]>
lstocchi added a commit to lstocchi/podman that referenced this issue Feb 26, 2025
when using a RHEL VM cloud-init is preferred over ignitioni for customizing the VM.
With crc-org/vfkit#208 vfkit will be able to accept
raw config files to enable cloud-init.

This patch adds the logic to create a user-data config file to register users + their ssh key by leveraging cloud-init

Signed-off-by: Luca Stocchi <[email protected]>
lstocchi added a commit to lstocchi/podman that referenced this issue Feb 27, 2025
when using a RHEL VM cloud-init is preferred over ignitioni for customizing the VM.
With crc-org/vfkit#208 vfkit will be able to accept
raw config files to enable cloud-init.

This patch adds the logic to create a user-data config file to register users + their ssh key by leveraging cloud-init

Signed-off-by: Luca Stocchi <[email protected]>
@lstocchi
Copy link
Contributor Author

lstocchi commented Mar 5, 2025

closed by #263

@lstocchi lstocchi closed this as completed Mar 5, 2025
@github-project-automation github-project-automation bot moved this from Ready for review to Done in Project planning: crc Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant