Merge lp:~axwalk/juju-core/lp1238934-manual-provision-aptrepos into lp:~go-bot/juju-core/trunk
Status: | Merged |
---|---|
Approved by: | Andrew Wilkins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2019 |
Proposed branch: | lp:~axwalk/juju-core/lp1238934-manual-provision-aptrepos |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
337 lines (+223/-31) 5 files modified
cloudinit/cloudinit.go (+3/-2) cloudinit/options.go (+40/-10) environs/cloudinit/cloudinit.go (+6/-2) environs/manual/agent.go (+74/-17) environs/manual/agent_test.go (+100/-0) |
To merge this branch: | bzr merge lp:~axwalk/juju-core/lp1238934-manual-provision-aptrepos |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email:
|
Commit message
environs/manual: process apt sources, bootcmds
This change takes care of processing apt repository
sources and bootcmds from the cloud-init config
and adding appropriate commands into the manual
provisioning script.
In the future, we should work towards using
cloud-init directly on the machine, as discussed
in lp:1238934. This task should be handled in lp:1215777
Fixes #1238934
Description of the change
environs/manual: process apt sources, bootcmds
This change takes care of processing apt repository
sources and bootcmds from the cloud-init config
and adding appropriate commands into the manual
provisioning script.
In the future, we should work towards using
cloud-init directly on the machine, as discussed
in lp:1238934. This task should be handled in lp:1215777
Fixes #1238934
Reviewers: mp+191561_ code.launchpad. net,
Message:
Please take a look.
Description:
environs/manual: process apt sources, bootcmds
This change takes care of processing apt repository
sources and bootcmds from the cloud-init config
and adding appropriate commands into the manual
provisioning script.
The only slightly complicated part to this is ubuntu. com
handling of keyids; if a keyid is specified, then
we must fetch the key from keyserver.
(or some other keyserver, if specified), and then
add it to the apt keyring.
In the future, we should work towards using
cloud-init directly on the machine, as discussed
in lp:1238934. This task should be handled in lp:1215777
Fixes #1238934
https:/ /code.launchpad .net/~axwalk/ juju-core/ lp1238934- manual- provision- aptrepos/ +merge/ 191561
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/14775044/
Affected files (+262, -33 lines): cloudinit. go options. go cloudinit/ cloudinit. go manual/ agent.go manual/ agent_test. go
A [revision details]
M cloudinit/
M cloudinit/
M environs/
M environs/
A environs/