Ticket #320: 320.2.diff

File 320.2.diff, 1.1 KB (added by DJ Lucas, 20 years ago)

Final patch that resolves bug

  • connect/dhcp/bootscripts.xml

    diff -Naur BOOK/connect/dhcp/bootscripts.xml BOOK-dj/connect/dhcp/bootscripts.xml
    old new  
    6767evaluate_retval
    6868<command>EOF</command></userinput></screen>
    6969
    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 &amp;&amp;
     76cat &gt; /etc/hosts &lt;&lt; "EOF" </command>
     77# Begin /etc/hosts
     78
     79127.0.0.1 &lt;hostname&gt; &lt;hostname.domain_name&gt; 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>
    7185
    7286<screen><userinput><command>chmod 755 /etc/sysconfig/network-devices/ifup-eth0 &amp;&amp;
    7387chmod 755 /etc/sysconfig/network-devices/ifdown-eth0</command></userinput></screen>