diff -Naur BOOK/connect/dhcp/bootscripts.xml BOOK-dj/connect/dhcp/bootscripts.xml
old
|
new
|
|
67 | 67 | evaluate_retval |
68 | 68 | <command>EOF</command></userinput></screen> |
69 | 69 | |
70 | | <para>Finally, we need to make these scripts executable:</para> |
| 70 | <para>Next, we need to make corrections to the |
| 71 | <filename>/etc/hosts</filename> file. Be sure to replace |
| 72 | <emphasis role="strong">hostname</emphasis> and |
| 73 | <emphasis role="strong">domain_name</emphasis> with apropriate values.</para> |
| 74 | |
| 75 | <screen><userinput><command>mv -f /etc/hosts /etc/hosts.bak && |
| 76 | cat > /etc/hosts << "EOF" </command> |
| 77 | # Begin /etc/hosts |
| 78 | |
| 79 | 127.0.0.1 <hostname> <hostname.domain_name> localhost localhost.localdomain |
| 80 | |
| 81 | # End /etc/hosts |
| 82 | <command>EOF</command></userinput></screen> |
| 83 | |
| 84 | <para>Finally, we need to make the scripts executable:</para> |
71 | 85 | |
72 | 86 | <screen><userinput><command>chmod 755 /etc/sysconfig/network-devices/ifup-eth0 && |
73 | 87 | chmod 755 /etc/sysconfig/network-devices/ifdown-eth0</command></userinput></screen> |