Commit 7695ca42 by KURODA Hiraku Committed by Stéphane Graber

Use ${utsname} instead of ${UTSNAME} because latter variable is not defined.

parent f0a452d8
...@@ -243,7 +243,7 @@ configure_centos() ...@@ -243,7 +243,7 @@ configure_centos()
DEVICE=eth0 DEVICE=eth0
BOOTPROTO=dhcp BOOTPROTO=dhcp
ONBOOT=yes ONBOOT=yes
HOSTNAME=${UTSNAME} HOSTNAME=${utsname}
NM_CONTROLLED=no NM_CONTROLLED=no
TYPE=Ethernet TYPE=Ethernet
MTU=${MTU} MTU=${MTU}
...@@ -253,7 +253,7 @@ EOF ...@@ -253,7 +253,7 @@ EOF
# set the hostname # set the hostname
cat <<EOF > ${rootfs_path}/etc/sysconfig/network cat <<EOF > ${rootfs_path}/etc/sysconfig/network
NETWORKING=yes NETWORKING=yes
HOSTNAME=${UTSNAME} HOSTNAME=${utsname}
EOF EOF
# set minimal hosts # 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