canonical / canonical/multipass

[launch] allow cloud-init file injection

Open
#1,040 18 comments 4 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
9.2k
Forks
828
Avg merge
3d 1h
Merged PRs (30d)
44

Description

Some cloud-init modules (e.g. [scripts](https://cloudinit.readthedocs.io/en/latest/topics/modules.html#scripts-per-boot)) require files to be placed into the data source.

We need a `--cloud-init-files` or so that will allow the user to specify a file/directory tree to be included on the data source.

Contributor guide

Open the contributing guide

Research direction

Start at the launch command and its cloud-init data-source handling. Trace how launch options reach the data source, then verify how cloud-init modules such as scripts-per-boot access injected files. Done means a --cloud-init-files-style option accepts a file or directory tree and includes it in the data source.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.