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

support bootcmd #121

Open
chenxinlong opened this issue Aug 31, 2023 · 1 comment
Open

support bootcmd #121

chenxinlong opened this issue Aug 31, 2023 · 1 comment

Comments

@chenxinlong
Copy link

chenxinlong commented Aug 31, 2023

Hi team,

Will cloudbase-init support bootcmd like cloudinit does let cmd execute per boot ? Or is there any way to achieve this ?

@ader1990
Copy link
Member

ader1990 commented Oct 9, 2023

Hello,

This feature can be achieved using userdata or localscripts and exit code 1002.
https://cloudbase-init.readthedocs.io/en/latest/tutorial.html?highlight=1002#file-execution

Thank you.

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

No branches or pull requests

2 participants