From ff182fcb4a8aeb2e40adf11070136ad778ef62ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iago=20L=C3=B3pez=20Galeiras?= Date: Mon, 19 Mar 2018 15:30:53 +0100 Subject: [PATCH] set_lsb_release: change distro name to Flatcar Also, change default update server to Flatcar's. --- build_library/set_lsb_release | 44 +++++++++++++++++------------------ contrib/create-coreos-vdi | 4 ++-- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/build_library/set_lsb_release b/build_library/set_lsb_release index cfc9967297..42d4de7760 100755 --- a/build_library/set_lsb_release +++ b/build_library/set_lsb_release @@ -25,52 +25,52 @@ ROOT_FS_DIR="$FLAGS_root" [ -n "$ROOT_FS_DIR" ] || die "--root is required." [ -d "$ROOT_FS_DIR" ] || die "Root FS does not exist? ($ROOT_FS_DIR)" -OS_NAME="Container Linux by CoreOS" +OS_NAME="Flatcar Linux by Kinvolk" OS_CODENAME="Rhyolite" -OS_ID="coreos" -OS_PRETTY_NAME="$OS_NAME $COREOS_VERSION (${OS_CODENAME})" +OS_ID="flatcar" +OS_PRETTY_NAME="$OS_NAME $FLATCAR_VERSION (${OS_CODENAME})" -COREOS_APPID="{e96281a6-d1af-4bde-9a0a-97b76e56dc57}" +FLATCAR_APPID="{e96281a6-d1af-4bde-9a0a-97b76e56dc57}" # DISTRIB_* are the standard lsb-release names -sudo mkdir -p "${ROOT_FS_DIR}/usr/share/coreos" "${ROOT_FS_DIR}/etc/coreos" -sudo_clobber "${ROOT_FS_DIR}/usr/share/coreos/lsb-release" <