Page MenuHomeVyOS Platform

Cloud-init not running userdata runcmd
Closed, ResolvedPublicBUG


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 ( While runcmd is under cloud_final_modules, I've found nothing in userdata will get run unless you also include the scripts-user module.


Difficulty level
Easy (less than an hour)
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

unixninja92 added subscribers: Unknown Object (User), syncer.Nov 8 2019, 6:24 PM

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?

syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.
zsdc claimed this task.
zsdc added a subscriber: zsdc.

This was resolved via:

Feel free to reopen the task if there is something more, not covered by newly available tools.

erkin set Issue type to Bug (incorrect behavior).Aug 31 2021, 6:24 PM