Merge pull request #820 from kinvolk/kai/motd-oem

coreos-base/coreos-init: Show OEM in motd
This commit is contained in:
Kai Lüke 2021-02-03 15:12:05 +01:00 committed by GitHub
commit 252526cb5d
3 changed files with 7 additions and 3 deletions

View File

@ -10,7 +10,7 @@ CROS_WORKON_REPO="git://github.com"
if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
else
CROS_WORKON_COMMIT="959ca2e599d29eaa6193bd7dd6a6e3fa3e9e1617" # flatcar-master
CROS_WORKON_COMMIT="cdfee3f8a54b995eed52e93280b231a93f2e1013" # flatcar-master
KEYWORDS="amd64 arm arm64 x86"
fi

View File

@ -1,5 +1,5 @@
ID=azure
VERSION_ID=@@OEM_VERSION_ID@@
NAME="Microsoft Azure"
NAME="Microsoft Azure (Pro)"
HOME_URL="https://azure.microsoft.com/"
BUG_REPORT_URL="https://issues.flatcar-linux.org"

View File

@ -29,7 +29,11 @@ S="${WORKDIR}"
src_prepare() {
if use ec2 || use aws_pro ; then
ID="ami"
NAME="Amazon EC2"
if use ec2; then
NAME="Amazon EC2"
else
NAME="Amazon EC2 (Pro)"
fi
HOME_URL="http://aws.amazon.com/ec2/"
elif use openstack ; then
ID="openstack"