diff options
Diffstat (limited to 'util/configure_network.sh')
-rw-r--r-- | util/configure_network.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util/configure_network.sh b/util/configure_network.sh index 6d07280..fd85e36 100644 --- a/util/configure_network.sh +++ b/util/configure_network.sh @@ -18,8 +18,11 @@ # along with this program. If not, see <https://www.gnu.org/licenses/>. +hostname=$1 + + touch /etc/hostname -echo $1 > /etc/hostname +echo $hostname > /etc/hostname touch /etc/hosts echo "" >> /etc/hosts |