Merge lp:~ubuntu-on-ec2/vmbuilder/no-wrong-51-cloudguest into lp:~ubuntu-on-ec2/vmbuilder/automated-ec2-builds

Proposed by Steve Langasek
Status: Merged
Merged at revision: 738
Proposed branch: lp:~ubuntu-on-ec2/vmbuilder/no-wrong-51-cloudguest
Merge into: lp:~ubuntu-on-ec2/vmbuilder/automated-ec2-builds
Diff against target: 28 lines (+0/-18)
1 file modified
vmbuilder-cloudimg-fixes (+0/-18)
To merge this branch: bzr merge lp:~ubuntu-on-ec2/vmbuilder/no-wrong-51-cloudguest
Reviewer Review Type Date Requested Status
Tobias Koch (community) Approve
Robert C Jennings (community) Approve
Review via email: mp+365695@code.launchpad.net

Commit message

/etc/update-motd.d/51-cloudguest contains information that is inconsistent with our current product offerings and we should make sure this gets nuked before we roll the last images for 14.04 before the transition to ESM

To post a comment you must log in.
Revision history for this message
Robert C Jennings (rcj) :
review: Approve
Revision history for this message
Tobias Koch (tobijk) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'vmbuilder-cloudimg-fixes'
2--- vmbuilder-cloudimg-fixes 2015-08-18 11:32:24 +0000
3+++ vmbuilder-cloudimg-fixes 2019-04-08 18:31:13 +0000
4@@ -110,24 +110,6 @@
5 sed -i "s,^[^#${bl}]*\([${bl}]*/[${bl}].*\),${lstr}\1," "${rootd}/etc/fstab"
6 fi
7
8-## Make sure that the update-motd.d directory exists
9-[ ! -e "${rootd}/etc/update-motd.d" ] &&
10- mkdir -p "${rootd}/etc/update-motd.d"
11-
12-## write a MOTD file advertising support for images
13-cat > "${rootd}/etc/update-motd.d/51-cloudguest" << EOF
14-#!/bin/sh
15-#
16-${CLOUD_IMG_STR}
17-# This file is not managed by a package. If you no longer want to
18-# see this message you can safely remove the file.
19-echo ""
20-echo " Get cloud support with Ubuntu Advantage Cloud Guest:"
21-echo " http://www.ubuntu.com/business/services/cloud"
22-EOF
23-
24-chmod +x "${rootd}/etc/update-motd.d/51-cloudguest"
25-
26 # for quantal and newer, add /etc/overlayroot.local.conf
27 # but do not overwrite anything that somehow got there
28 if dist_ge "${codename}" "quantal" &&

Subscribers

People subscribed via source and target branches