[Bug 1086646] Re: text/x-shellscript doesn't run if text/cloud-boothook present
Scott Moser
smoser at ubuntu.com
Fri Dec 7 16:42:01 UTC 2012
On Fri, 7 Dec 2012, DaveQB wrote:
> Yes actually I did fix that in a later boothook, but this is after I
> went with the all-in-one boothook (that injects into rc.local to run a
> shell script once network was up)
>
> I see. So messing with the cloud.cfg broke the system. My bad.
>
> Thanks for the time Scott and sorry for sending you on a wild goose chase.
> That info on making a "preserve-hostname.cfg" and "apt_preserve_sources_list" file is brilliant!! Exactly what I need. I didn't come across this in docos. Any links to this to what I have missed reading?
Probably not. :-(
Generally, though the config parsing goes:
* /etc/cloud/cloud.cfg
* /etc/cloud/cloud.cfg.d/*.cfg # in C locale sorted order
* user-data-cloud-config , parsed in order seen.
fwiw, under bug 1023179, we're hoping to make the "merge cloud-config"
more sane. Right now, it basically only overrides. Ie, if 2 files have
'runcmd' defined, the last one wins.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1086646
Title:
text/x-shellscript doesn't run if text/cloud-boothook present
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1086646/+subscriptions
More information about the Ubuntu-server-bugs
mailing list