[Bug 1086646] [NEW] text/x-shellscript doesn't run if text/cloud-boothook present

DaveQB 1086646 at bugs.launchpad.net
Wed Dec 5 02:47:58 UTC 2012


Public bug reported:

>From my testing, it seems if you have a multipart user-data file that
contains both a boothook and a shell script, the latter will not run. I
have been testing with all sorts of user-data files and only in this
setup (a boothook AND a script) do I see the shell script not run at
all.


This is using the the Amazon Ubuntu 12.04.1 AMI (ami-ac4300fe)

PS
The reason I am at this point is that running "echo myhostname > /etc/hostname" in the boothook sees it overwritten by cloud-init. Even with a line like this in the boothook "sed -i 's/preserve_hostname/preserve_hostname: True/g' /etc/cloud/cloud.cfg" hence I have to add a shell script for this.


Thanks.

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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