Skip to content

Commit 3307bf9

Browse files
author
Kristan Kenney
committed
Ensure that hostname is set correctly
1 parent 1d6bc9a commit 3307bf9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/v-change-sys-hostname

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ if [ -d "/etc/sysconfig" ]; then
4141
fi
4242
else
4343
# Debian/Ubuntu
44+
hostnamectl set-hostname $domain
4445
echo "$domain" > /etc/hostname
4546
fi
4647

0 commit comments

Comments
 (0)