mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 09:21:53 +00:00
Drop /etc/update-motd.d/51-cloudguest from cloud images; this is not consistent with current Ubuntu Advantage product language. Any future customizations to update-motd for cloud images should be done via a package instead.
This commit is contained in:
parent
b1c7871ba0
commit
7583c4f0b9
9
debian/changelog
vendored
9
debian/changelog
vendored
@ -1,3 +1,12 @@
|
|||||||
|
livecd-rootfs (2.208.17) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Drop /etc/update-motd.d/51-cloudguest from cloud images; this is not
|
||||||
|
consistent with current Ubuntu Advantage product language. Any future
|
||||||
|
customizations to update-motd for cloud images should be done via a
|
||||||
|
package instead. LP: #1823776.
|
||||||
|
|
||||||
|
-- Steve Langasek <steve.langasek@ubuntu.com> Tue, 12 Mar 2019 11:39:34 -0700
|
||||||
|
|
||||||
livecd-rootfs (2.208.16) trusty; urgency=medium
|
livecd-rootfs (2.208.16) trusty; urgency=medium
|
||||||
|
|
||||||
* For omap and omap4, enable the universe component for u-boot-linaro-omap*
|
* For omap and omap4, enable the universe component for u-boot-linaro-omap*
|
||||||
|
@ -126,20 +126,6 @@ EOM
|
|||||||
[ ! -e "${rootd}/etc/update-motd.d" ] &&
|
[ ! -e "${rootd}/etc/update-motd.d" ] &&
|
||||||
mkdir -p "${rootd}/etc/update-motd.d"
|
mkdir -p "${rootd}/etc/update-motd.d"
|
||||||
|
|
||||||
## write a MOTD file advertising support for images
|
|
||||||
cat > "${rootd}/etc/update-motd.d/51-cloudguest" << EOF
|
|
||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
${CLOUD_IMG_STR}
|
|
||||||
# This file is not managed by a package. If you no longer want to
|
|
||||||
# see this message you can safely remove the file.
|
|
||||||
echo ""
|
|
||||||
echo " Get cloud support with Ubuntu Advantage Cloud Guest:"
|
|
||||||
echo " http://www.ubuntu.com/business/services/cloud"
|
|
||||||
EOF
|
|
||||||
|
|
||||||
chmod +x "${rootd}/etc/update-motd.d/51-cloudguest"
|
|
||||||
|
|
||||||
# for quantal and newer, add /etc/overlayroot.local.conf
|
# for quantal and newer, add /etc/overlayroot.local.conf
|
||||||
# but do not overwrite anything that somehow got there
|
# but do not overwrite anything that somehow got there
|
||||||
if [ -f "${rootd}/etc/overlayroot.conf" ] &&
|
if [ -f "${rootd}/etc/overlayroot.conf" ] &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user