From 243d28ba7228cd39122f1bf755964ee6245ced6b Mon Sep 17 00:00:00 2001 From: Gregory Haynes Date: Fri, 26 Jun 2015 14:40:34 +0000 Subject: [PATCH] Have glean set hostname if a config drive exists Glean now supports setting a hostname, lets ask it to do this. Change-Id: Iea8d210b4b5add8fed4038cf81ce28d1d7c7c1c4 Depends-on: Ia9155bc565ad79af44d88acc06759be2bf4e5f20 --- elements/simple-init/install.d/simple-init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/simple-init/install.d/simple-init.sh b/elements/simple-init/install.d/simple-init.sh index ad536aa5a..7737c503f 100755 --- a/elements/simple-init/install.d/simple-init.sh +++ b/elements/simple-init/install.d/simple-init.sh @@ -39,7 +39,7 @@ if blkid -t LABEL="config-2" ; then # Mount config drive mkdir -p /mnt/config mount -o mode=0700 $(blkid -t LABEL="config-2" | cut -d ':' -f 1) /mnt/config || true - glean --ssh --skip-network + glean --ssh --skip-network --hostname fi if [ -f /usr/bin/dpkg ] ; then