Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

Commit

Permalink
Merge pull request #272 from bgilbert/eol
Browse files Browse the repository at this point in the history
scripts/*gen: add EOL notices
  • Loading branch information
bgilbert committed Feb 5, 2020
2 parents a164d87 + 8b011b2 commit 5c6fd4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/issuegen
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ print_issue() {
[ -f "${note}" ] && cat "${note}"
done
echo
echo -e '\e[31;1mCoreOS Container Linux will no longer receive updates after May 26, 2020.\nSee https://coreos.com/os/eol/\e[0m\n'
}

case "$1" in
Expand Down
1 change: 1 addition & 0 deletions scripts/motdgen
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ source /usr/lib/os-release

mkdir -p /run/coreos
echo -e "\e[${ANSI_COLOR}m${NAME}\e[39m ${GROUP} (${VERSION})" > /run/coreos/motd
echo -e '\n\e[31;1mCoreOS Container Linux will no longer receive updates after May 26, 2020.\nBegin migrating your workloads to another operating system.\nFor more info, see https://coreos.com/os/eol/\e[0m\n' >> /run/coreos/motd

if [[ -d "/etc/motd.d" ]]; then
cat /etc/motd.d/*.conf 2>/dev/null >> /run/coreos/motd || true
Expand Down

0 comments on commit 5c6fd4f

Please sign in to comment.