Skip to content

ephemeral run: Use correct None datasource for cloud-init - #320

Merged
gursewak1997 merged 1 commit into
bootc-dev:mainfrom
petracvv:cloud-init-datasource
Aug 18, 2026
Merged

ephemeral run: Use correct None datasource for cloud-init#320
gursewak1997 merged 1 commit into
bootc-dev:mainfrom
petracvv:cloud-init-datasource

Conversation

@petracvv

@petracvv petracvv commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

While testing local images with cloud-init, I noticed that the application was crashing and not deploying basic config when running the image through bcvk. I traced this down to the qemu command using the incorrect data source. iid-datasource-none is the special instance id that cloud-init uses for the None datasource not the name of the datasource itself.

This PR switches the kernel parameter to None so we pass a valid datasource to cloud-init.

Signed-off-by: Mihai Petracovici <petracvv@users.noreply.github.com>
@gursewak1997
gursewak1997 force-pushed the cloud-init-datasource branch from 4014b66 to b34d904 Compare August 18, 2026 18:24
@gursewak1997
gursewak1997 enabled auto-merge (squash) August 18, 2026 18:24
@cgwalters
cgwalters requested a balanced review from Copilot August 18, 2026 18:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Corrects cloud-init startup for ephemeral VMs by selecting the valid None datasource.

Changes:

  • Replaces the mistaken instance ID with ds=None.
  • Regression coverage is still needed.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread crates/kit/src/run_ephemeral.rs

@cgwalters cgwalters left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for this!

@gursewak1997
gursewak1997 merged commit bbdb35f into bootc-dev:main Aug 18, 2026
9 of 19 checks passed
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.

4 participants