Merge lp:~smoser/maas-images/trunk.ppa-proposed-doc into lp:maas-images

Proposed by Scott Moser
Status: Merged
Merged at revision: 381
Proposed branch: lp:~smoser/maas-images/trunk.ppa-proposed-doc
Merge into: lp:maas-images
Diff against target: 44 lines (+34/-0)
1 file modified
README (+34/-0)
To merge this branch: bzr merge lp:~smoser/maas-images/trunk.ppa-proposed-doc
Reviewer Review Type Date Requested Status
Lee Trager (community) Approve
Review via email: mp+331974@code.launchpad.net

Commit message

README: add info about building with ppa or proposed.

This just documents functionality that was previously exposed.
The usage of PPA is specifically nice for testing things.

To post a comment you must log in.
Revision history for this message
Lee Trager (ltrager) wrote :

LGTM thanks for adding some documentation!

review: Approve
382. By Scott Moser

minor updates

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'README'
--- README 2016-01-25 15:52:31 +0000
+++ README 2017-10-06 20:42:39 +0000
@@ -67,6 +67,40 @@
67It will produce output that looks much like the final output, but67It will produce output that looks much like the final output, but
68runs in seconds rather than minutes.68runs in seconds rather than minutes.
6969
70=== Enabling Proposed ===
71For development and test purposes using Ubuntu proposed or PPA can
72be very useful.
73
74You can enable the proposed archive by simply editing the config
75file conf/meph-v3.yaml and specifying '--conf=conf/meph-v3.yaml'.
76
77 enable_proposed: True
78
79Alternatively, you can simply pass '--proposed' to 'meph2-build' or
80to 'meph2-cloudimg-sync'.
81
82=== Adding PPAs ===
83You can build images with any number of PPAs added and additional
84packages installed into the image through the environment variables
85M2E_ADD_REPOS and M2E_ADD_PACKAGES which are read by
86maas-cloudimg2ephemeral.
87
88M2E_ADD_REPOS is a space-delimited list of repositories to pass
89to 'add-apt-repository'. M2E_ADD_PACKAGES is a space-delimited
90list of packages that will be installed into the image, and will
91thus affect both the image and the initramfs produced from it.
92
93For example:
94
95 $ rel=xenial ; arch=amd64
96 $ burl=http://cloud-images.ubuntu.com/
97 $ file=$rel-server-cloudimg-amd64.squashfs
98 $ wget $burl/$rel/current/$rel-server-cloudimg-amd64.squashfs -O "$file"
99
100 $ export M2E_ADD_REPOS=ppa:smoser/lp1711760
101 $ meph2-build --config=conf/meph-v3.yaml \
102 $arch $rel $(date +"%Y%m%d") $file $rel-output.d/
103
70== streams management ==104== streams management ==
71Building as above will create out.d that has *metadata* describing105Building as above will create out.d that has *metadata* describing
72everything that is in the source stream and also the things that were106everything that is in the source stream and also the things that were

Subscribers

People subscribed via source and target branches