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
This commit is contained in:
Gregory Haynes 2015-06-26 14:40:34 +00:00
parent 8fe0009534
commit 243d28ba72
1 changed files with 1 additions and 1 deletions

View File

@ -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