Skip to content

Commit fc05ca0

Browse files
committed
Handle spaces in room ID hostnames
1 parent 6c68133 commit fc05ca0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sbin/seagl-setup-room

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ else
2727
echo presentations > /var/lib/seagl/laptop-type
2828
fi
2929

30-
hostnamectl hostname seagl-$(tr '[:upper:]' '[:lower:]' < /var/lib/seagl/room-id)-$(cat /var/lib/seagl/laptop-type)
30+
hostnamectl hostname seagl-$(tr '[:upper:] ' '[:lower:]-' < /var/lib/seagl/room-id)-$(cat /var/lib/seagl/laptop-type)
3131

3232
if [ $(cat /var/lib/seagl/laptop-type) == streaming ]; then
3333
# TODO add SeaGL-specific scripts into here

0 commit comments

Comments
 (0)