13 lines
189 B
Bash
13 lines
189 B
Bash
|
#!/bin/bash
|
||
|
set -x
|
||
|
|
||
|
echo "Running $0"
|
||
|
|
||
|
echo Adding "$1 host.ratchet.internal" to /etc/hosts file
|
||
|
|
||
|
echo $1 host.ratchet.internal >> /etc/hosts
|
||
|
|
||
|
echo /etc/hosts contains:
|
||
|
cat /etc/hosts
|
||
|
echo
|