#!/bin/sh
cp /etc/hosts /etc/hosts.temp
sed -i "s/.*$(hostname)/$HOST $(hostname)/" /etc/hosts.temp
cat /etc/hosts.temp > /etc/hosts

