summaryrefslogtreecommitdiff
path: root/bin/network_configuration.sh
blob: 251f9a0635bbfb6ac70ffdeb3a49c6373b01efbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15


# Network Configuration

touch /etc/hostname
echo $1 > /etc/hostname

touch /etc/hosts
echo "" >> /etc/hosts
echo "127.0.0.1    localhost" >> /etc/hosts
echo "::1       localhost" >> /etc/hosts

echo "Network configuration done - OK"
echo ""
sleep 1