ComposeUserData provides no mechanism for customising apt options

Bug #1295058 reported by Andrew Wilkins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
Low
Andrew Wilkins

Bug Description

We've got environs.ComposeUserData, which takes a set of additional scripts that are added to the cloudinit.Config structure after running the ConfigureBasic/ConfigureJuju functions over MachineConfig

 In the MAAS provider we need to also do an apt-get update && apt-get install bridge-utils during bootstrap. This is necessary so that we restart networking before the synchronous bootstrap phase begins. Ideally we would just set the appropriate options on cloudinit.Config directly, but instead we're currently stuck with adding runcmds.

See: https://codereview.appspot.com/77890045/

Tags: tech-debt

Related branches

Andrew Wilkins (axwalk)
Changed in juju-core:
status: Triaged → In Progress
assignee: nobody → Andrew Wilkins (axwalk)
milestone: none → 1.18.0
Andrew Wilkins (axwalk)
Changed in juju-core:
status: In Progress → Fix Committed
milestone: 1.18.0 → 1.17.7
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.