mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-21 18:11:22 +00:00
-a
This commit is contained in:
@@ -46,7 +46,7 @@ set -o nounset
|
|||||||
BUNDLED_VERSIONS="3.0.17, 3.1.12, 3.2.24, 3.3.17, 3.4.7"
|
BUNDLED_VERSIONS="3.0.17, 3.1.12, 3.2.24, 3.3.17, 3.4.7"
|
||||||
|
|
||||||
# shellcheck disable=SC2039
|
# shellcheck disable=SC2039
|
||||||
ETCD_NAME="${ETCD_NAME:-etcd-$HOSTNAME}"
|
ETCD_NAME="${ETCD_NAME:-etcd-${ETCD_HOSTNAME:-$(hostname -s)}}"
|
||||||
if [ -z "${DATA_DIRECTORY:-}" ]; then
|
if [ -z "${DATA_DIRECTORY:-}" ]; then
|
||||||
echo "DATA_DIRECTORY variable unset - unexpected failure"
|
echo "DATA_DIRECTORY variable unset - unexpected failure"
|
||||||
exit 1
|
exit 1
|
||||||
|
Reference in New Issue
Block a user