Bug 1039735 - cloud-init should probably have package-update-upgrade-install module enabled
Summary: cloud-init should probably have package-update-upgrade-install module enabled
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: cloud-init
Version: 6.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Lars Kellogg-Stedman
QA Contact: mkovacik
URL:
Whiteboard:
Depends On:
Blocks: 1056732
TreeView+ depends on / blocked
 
Reported: 2013-12-09 21:24 UTC by Lars Kellogg-Stedman
Modified: 2014-09-08 19:06 UTC (History)
2 users (show)

Fixed In Version: cloud-init-0.7.5-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-08 19:06:29 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Lars Kellogg-Stedman 2013-12-09 21:24:02 UTC
Description of problem:

Installing packages seems like an obvious thing to want to do when first booting a cloud-init enabled image, but our cloud.cfg does not enable this module, so passing in user-data that looks like this...

    #cloud-config
    packages:
      - git

...will do nothing.

Comment 2 Justin Clift 2014-04-01 00:21:12 UTC
Upstream conversation + workaround info for this bug:

  https://lists.launchpad.net/cloud-init/msg00023.html

There is a 2nd bug which affects this module (needing to manually set /var/run/reboot-required), but it's not a show stopper to enabling the module.

Comment 3 Lars Kellogg-Stedman 2014-09-08 19:06:29 UTC
Latest cloud-init packages include the package-update-upgrade-install module.


Note You need to log in before you can comment on or make changes to this bug.