| 1 | # Delete the first hosts entry and then add it back into the tree |
| 2 | # Because of how nodes are ordered, this should be equivalent to |
| 3 | # moving the corresponding line to the end of the file |
| 4 | commands=" |
| 5 | rm /files/etc/hosts/1 |
| 6 | set /files/etc/hosts/1/ipaddr 127.0.0.1 |
| 7 | set /files/etc/hosts/1/canonical localhost.localdomain |
| 8 | set /files/etc/hosts/1/alias[1] localhost |
| 9 | set /files/etc/hosts/1/alias[2] galia.watzmann.net |
| 10 | set /files/etc/hosts/1/alias[3] galia |
| 11 | " |
| 12 | |
| 13 | lens=Hosts.lns |
| 14 | file="/etc/hostsscip-shell filesystem . . `/etc/hosts`." |
| 15 | |
| 16 | diff='--- /etc/hosts |
| 17 | +++ /etc/hosts.augnew |
| 18 | @@ -1,6 +1,6 @@ |
| 19 | # Do not remove the following line, or various programs |
| 20 | # that require network functionality will fail. |
| 21 | -127.0.0.1\tlocalhost.localdomain\tlocalhost galia.watzmann.net galia |
| 22 | #172.31.122.254 granny.watzmann.net granny puppet |
| 23 | #172.31.122.1 galia.watzmann.net galia |
| 24 | 172.31.122.14 orange.watzmann.net orange |
| 25 | +127.0.0.1\tlocalhost.localdomain\tlocalhost galia.watzmann.net galia' |