Bug 1039735

Summary: cloud-init should probably have package-update-upgrade-install module enabled
Product: Red Hat Enterprise Linux 6 Reporter: Lars Kellogg-Stedman <lars>
Component: cloud-initAssignee: Lars Kellogg-Stedman <lars>
Status: CLOSED CURRENTRELEASE QA Contact: mkovacik
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.5CC: jclift, jgreguske
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cloud-init-0.7.5-1.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-08 19:06:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1056732    

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.