1
0
mirror of synced 2026-04-16 07:56:15 +00:00

Add the hostname to dom0's /etc/hosts in the correct order.

#477775
This commit is contained in:
Steve Kemp
2008-04-30 19:05:21 +01:00
parent 161ee94632
commit 5d11b820b7
7 changed files with 7 additions and 8 deletions

View File

@@ -91,7 +91,7 @@ if [ -z "${dhcp}" ]; then
logMessage Adding ${hostname} and ${name} to /etc/hosts on the host
echo "${ip1} ${name} ${hostname}" >> /etc/hosts
echo "${ip1} ${hostname} ${name}" >> /etc/hosts
#

View File

@@ -91,8 +91,7 @@ if [ -z "${dhcp}" ]; then
logMessage Adding ${hostname} and ${name} to /etc/hosts on the host
echo "${ip1} ${name} ${hostname}" >> /etc/hosts
echo "${ip1} ${hostname} ${name}" >> /etc/hosts
#
# If we've updated the /etc/hosts file on the host machine

View File

@@ -91,7 +91,7 @@ if [ -z "${dhcp}" ]; then
logMessage Adding ${hostname} and ${name} to /etc/hosts on the host
echo "${ip1} ${name} ${hostname}" >> /etc/hosts
echo "${ip1} ${hostname} ${name}" >> /etc/hosts
#

View File

@@ -91,7 +91,7 @@ if [ -z "${dhcp}" ]; then
logMessage Adding ${hostname} and ${name} to /etc/hosts on the host
echo "${ip1} ${name} ${hostname}" >> /etc/hosts
echo "${ip1} ${hostname} ${name}" >> /etc/hosts
#
# If we've updated the /etc/hosts file on the host machine

View File

@@ -90,7 +90,7 @@ if [ -z "${dhcp}" ]; then
logMessage Adding ${hostname} and ${name} to /etc/hosts on the host
echo "${ip1} ${name} ${hostname}" >> /etc/hosts
echo "${ip1} ${hostname} ${name}" >> /etc/hosts
#
# If we've updated the /etc/hosts file on the host machine

View File

@@ -91,7 +91,7 @@ if [ -z "${dhcp}" ]; then
logMessage Adding ${hostname} and ${name} to /etc/hosts on the host
echo "${ip1} ${name} ${hostname}" >> /etc/hosts
echo "${ip1} ${hostname} ${name}" >> /etc/hosts
#

View File

@@ -98,7 +98,7 @@ if [ -z "${dhcp}" ]; then
logMessage Adding ${hostname} and ${name} to /etc/hosts on the host
echo "${ip1} ${name} ${hostname}" >> /etc/hosts
echo "${ip1} ${hostname} ${name}" >> /etc/hosts
#
# If we've updated the /etc/hosts file on the host machine