Page MenuHomePhabricator

Cloud-init not running userdata runcmd
Open, LowPublicBUG

Description

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.

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?
Perfectly compatible

Event Timeline

unixninja92 updated the task description. (Show Details)
unixninja92 updated the task description. (Show Details)Oct 28 2019, 8:21 PM
unixninja92 updated the task description. (Show Details)
pasik added a subscriber: pasik.Nov 4 2019, 9:52 AM
TomekC added a subscriber: TomekC.Nov 5 2019, 7:50 AM

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 triaged this task as Low priority.Nov 16 2019, 10:52 PM
syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.