forked from ungleich-public/cdist
[__hostname] Add support for Void Linux
This commit is contained in:
parent
cbae534af5
commit
b9571a2bbd
2 changed files with 2 additions and 2 deletions
|
@ -66,7 +66,7 @@ in
|
||||||
"&& hostnamectl set-hostname '$name_should'" \
|
"&& hostnamectl set-hostname '$name_should'" \
|
||||||
"|| hostname '$name_should'"
|
"|| hostname '$name_should'"
|
||||||
;;
|
;;
|
||||||
centos|fedora|redhat|scientific|freebsd|netbsd|gentoo)
|
centos|fedora|redhat|scientific|freebsd|netbsd|gentoo|void)
|
||||||
echo "hostname '$name_should'"
|
echo "hostname '$name_should'"
|
||||||
;;
|
;;
|
||||||
macosx)
|
macosx)
|
||||||
|
|
|
@ -60,7 +60,7 @@ fi
|
||||||
|
|
||||||
case $os
|
case $os
|
||||||
in
|
in
|
||||||
alpine|debian|devuan|ubuntu)
|
alpine|debian|devuan|ubuntu|void)
|
||||||
echo "$name_should" \
|
echo "$name_should" \
|
||||||
| __file /etc/hostname --source -
|
| __file /etc/hostname --source -
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue