Merge lp://staging/~ltrager/maas-images/rename_centos into lp://staging/maas-images
Status: | Merged |
---|---|
Merged at revision: | 254 |
Proposed branch: | lp://staging/~ltrager/maas-images/rename_centos |
Merge into: | lp://staging/maas-images |
Diff against target: |
173 lines (+35/-48) 2 files modified
conf/centos.yaml (+2/-2) meph2/commands/meph2_util.py (+33/-46) |
To merge this branch: | bzr merge lp://staging/~ltrager/maas-images/rename_centos |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser | Pending | ||
Review via email: mp+276303@code.staging.launchpad.net |
Commit message
Rename centos products to include 'daily'
* Renames the CentOS images to include 'daily' in the product name
This follows the convention of the ubuntu daily images.
* Fixes a bug when the SHA256 sums don't match meph2-util would crash
because it was trying to read the wrong variable
* Adds the sign command to sign the stream with your gpg key
Description of the change
This patch does the following
* Renames the CentOS images to include 'daily' in the name
* Fixes a bug when the SHA256 sums don't match meph2-util would crash because it was trying to read the wrong variable
* Adds the sign command to sign the stream with your gpg key
We can rename the existing daily stream with the following
STREAM_
rm ${STREAM_
mv "${STREAM_
"${
sed -i \
-e 's/com.
-e 's/"label": "release"/"label": "daily"/g' \
${STREAM_
meph2-util sign /path/to/daily
I've confirmed that after using the above script to rename the centos images the import command does not regenerate the centos images and MAAS does not redownload them.
I was also able to confirm that the following command successfully promotes a centos image into a stream which currently has none
meph2-util promote --no-sign --label=release /path/to/daily /path/to/releases 20141129_01 release=centos70 product_
Will maas re-download ?
I'd consider it not a show stopper if it did, but less than ideal.
one other minor thing in line.