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:
parent
8fe0009534
commit
243d28ba72
@ -39,7 +39,7 @@ if blkid -t LABEL="config-2" ; then
|
|||||||
# Mount config drive
|
# Mount config drive
|
||||||
mkdir -p /mnt/config
|
mkdir -p /mnt/config
|
||||||
mount -o mode=0700 $(blkid -t LABEL="config-2" | cut -d ':' -f 1) /mnt/config || true
|
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
|
fi
|
||||||
|
|
||||||
if [ -f /usr/bin/dpkg ] ; then
|
if [ -f /usr/bin/dpkg ] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user