Commit a5405bd0 by Stéphane Graber

Merge pull request #779 from hiraku/fix-centos-template-uppercase

Use ${utsname} instead of ${UTSNAME} because latter variable is not defined
parents 42caa248 54a0b57d
......@@ -249,7 +249,7 @@ configure_centos()
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
HOSTNAME=${UTSNAME}
HOSTNAME=${utsname}
NM_CONTROLLED=no
TYPE=Ethernet
MTU=${MTU}
......@@ -259,7 +259,7 @@ EOF
# set the hostname
cat <<EOF > ${rootfs_path}/etc/sysconfig/network
NETWORKING=yes
HOSTNAME=${UTSNAME}
HOSTNAME=${utsname}
EOF
# set minimal hosts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment