From f7bf4dd1d3f11800f7e236ee7e11d31ce180833e Mon Sep 17 00:00:00 2001 From: Athmane Madjoudj Date: Nov 26 2011 10:49:54 +0000 Subject: Add a helper script to update /etc/hosts --- diff --git a/tests/0_common/40_update_hosts.sh b/tests/0_common/40_update_hosts.sh new file mode 100755 index 0000000..ad952b7 --- /dev/null +++ b/tests/0_common/40_update_hosts.sh @@ -0,0 +1,8 @@ +#!/bin/bash +# Author: Athmane Madjoudj + + +t_Log "Running $0 - Update /etc/hosts" + +echo "127.0.0.1 `hostname` localhost.localdomain" >> /etc/hosts +