mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-03 19:42:15 +02:00
coreos-base/oem-*: add Pro to OEM name where applicable
Using the change in https://github.com/kinvolk/init/pull/34 we can show the OEM on the motd, and by including "Pro" in the OEM name we can also show whether it is a Pro image or not. Later this may be revisited if the /usr/../os-release file is the place for it.
This commit is contained in:
parent
e688b44567
commit
2604b8d782
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user