hostname -> hostnamectl
This commit is contained in:
parent
fe5382eae4
commit
c4b181a5fe
1 changed files with 1 additions and 1 deletions
|
|
@ -242,7 +242,7 @@ EOF
|
|||
logact ln -s /usr/share/zoneinfo/${ARCH_TZ} /etc/localtime
|
||||
logact hwclock --systohc --utc
|
||||
echo ${HOSTNAME} > /etc/hostname
|
||||
logact hostname ${HOSTNAME}
|
||||
logact hostnamectl set-hostname ${HOSTNAME}
|
||||
|
||||
touch /root/.archmate/stage-1.done
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue