Skip to content

cidata: split user-data #68

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

Merged
merged 6 commits into from
Jun 21, 2021
Merged

cidata: split user-data #68

merged 6 commits into from
Jun 21, 2021

Conversation

AkihiroSuda
Copy link
Member

@AkihiroSuda AkihiroSuda commented Jun 21, 2021

Fix #58


Upgrading from Lima v0.3.0 probably requires recreating instances.

@AkihiroSuda AkihiroSuda marked this pull request as draft June 21, 2021 06:50
Split scripts in `user-data.TEMPLATE`.

No modification to the script lines.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
@AkihiroSuda AkihiroSuda force-pushed the dev-factor-cidata branch 3 times, most recently from e006bc2 to 24e5559 Compare June 21, 2021 08:01
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
@AkihiroSuda AkihiroSuda changed the title [WIP] cidata: split user-data cidata: split user-data Jun 21, 2021
@AkihiroSuda AkihiroSuda marked this pull request as ready for review June 21, 2021 10:00
@AkihiroSuda AkihiroSuda merged commit 2c3c44a into master Jun 21, 2021
@AkihiroSuda AkihiroSuda deleted the dev-factor-cidata branch June 21, 2021 11:25
@jandubois
Copy link
Member

Thank you, this is awesome! Now I can replace cloud-init in the alpine image with a 30 line shell script! 😄

🚧 rancher-sandbox/alpine-lima@9a51e59

(it works, but needs some support for logging, in case something goes wrong)

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.

Refactor user-data.TEMPLATE
2 participants