Scripts and runcmd commands passed into cloud-init via userdata are not getting run.
I suspect the issue is in the cloud-init config template (https://github.com/vyos/vyos-cloud-init/blob/current/config/cloud.cfg.tmpl). While runcmd is under cloud_final_modules, I've found nothing in userdata will get run unless you also include the scripts-user module.
Description
Description
Details
Details
- Difficulty level
- Easy (less than an hour)
- Version
- 1.2.3
- Why the issue appeared?
- Will be filled on close
- Is it a breaking change?
- Unspecified (possibly destroys the router)
- Issue type
- Bug (incorrect behavior)
Event Timeline
Comment Actions
If someone can confirm I'm linking to the correct github repo (there are two cloud init ones under vyos), I could submit a pull request for this. @syncer, @Unicron?
Comment Actions
This was resolved via:
https://github.com/vyos/vyos-cloud-init/commit/1607eec32641ad93ea211e447336b3366c28de06
https://github.com/vyos/vyos-cloud-init/commit/3980057ce140ea6896cd3f7cd4299cfd29cf234a
Feel free to reopen the task if there is something more, not covered by newly available tools.