- 221. By Scott Moser on 2010-07-07
manage hostname setting better (LP: #596993)
On EBS instances, a shutdown and later start would end up with a
different IP address.
In the case where the user has not modified /etc/hostname from its
original value (seeded by metadata's 'local-hostname'), then cloud-init
will again set the hostname and update /etc/hostname.
In the case where the user *has* modified /etc/hostname, it will remain
Additionally, if /etc/cloud/
cloud.cfg contains 'preserve_hostname' value
set to a True value, then /etc/hostname will not ever be touched.
- 220. By Scott Moser on 2010-07-02
resort to "starts with" to find mime type only on plain/text (LP: #600799)
The starts-with determination of mime type was overriding an explicit
setting in the mime-type. This was evident when the mime type specified
boothook, but the content began with '#!'. In that case, the content
would run as a user script rather than boothook.
- 218. By Scott Moser on 2010-07-02
fix removal of '#cloud-boothook' inside a boothook
The goal was to remove '#cloud-boothook' from a part if the part
started that way. This was to allow user data of
to be handled correctly. That had 2 bugs
1.) the prefix string was wrong
2.) was checking for '\r' in the wrong location
- 216. By Scott Moser on 2010-06-30
on bad cloud-config syntax (failure to yaml.load) continue on
If user gives bad cloud-config syntax, its not very useful to die, as
that is most likely to leave the system unreachable. This instead
logs the error and continues as if it no cloud-config was given.
- 215. By Scott Moser on 2010-06-30
mention nobootwait in mount configuration
nobootwait is likely important if the user is attempting to set up ebs
volume mount points via this mechanism. See 'man fstab' for more
inforation on this option
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on: