Merge "Have glean set hostname if a config drive exists"
This commit is contained in:
commit
96c134b429
@ -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