From 634c5a9ff0790de29698ba01777ceeebb4949f35 Mon Sep 17 00:00:00 2001 From: Zach Loafman Date: Sat, 12 Mar 2016 05:58:40 -0800 Subject: [PATCH] Cleanup /etc/motd after doc link shift --- cluster/gce/configure-vm.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cluster/gce/configure-vm.sh b/cluster/gce/configure-vm.sh index 7eb6620f9647a..238411b2ea4fe 100755 --- a/cluster/gce/configure-vm.sh +++ b/cluster/gce/configure-vm.sh @@ -77,8 +77,6 @@ function set-broken-motd() { function reset-motd() { # kubelet is installed both on the master and nodes, and the version is easy to parse (unlike kubectl) local -r version="$(/usr/local/bin/kubelet --version=true | cut -f2 -d " ")" - # This regex grabs the minor version, e.g. v1.2. - local -r minor="$(echo ${version} | sed -r "s/(v[0-9]+\.[0-9]+).*/\1/g")" # This logic grabs either a release tag (v1.2.1 or v1.2.1-alpha.1), # or the git hash that's in the build info. local gitref="$(echo "${version}" | sed -r "s/(v[0-9]+\.[0-9]+\.[0-9]+)(-[a-z]+\.[0-9]+)?.*/\1\2/g")" @@ -95,8 +93,8 @@ If it isn't, the closest tag is at: Welcome to Kubernetes ${version}! -You can find documentation for this release at: - http://kubernetes.io/${minor}/ +You can find documentation for Kubernetes at: + http://docs.kubernetes.io/ You can download the build image for this release at: https://storage.googleapis.com/kubernetes-release/release/${version}/kubernetes-src.tar.gz @@ -106,6 +104,7 @@ It is based on the Kubernetes source at: ${devel} For Kubernetes copyright and licensing information, see: /usr/local/share/doc/kubernetes/LICENSES + EOF }