summaryrefslogtreecommitdiff
path: root/patchroot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'patchroot.sh')
-rw-r--r--patchroot.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/patchroot.sh b/patchroot.sh
index 8bd3269..2345f77 100644
--- a/patchroot.sh
+++ b/patchroot.sh
@@ -1,5 +1,7 @@
1#!/bin/sh 1#!/bin/sh
2echo samizdat > /etc/hostname 2hostname=adam
3echo $hostname > /etc/hostname
4sed -i -e 's/\blocalhost\b/& '"$hostname"'/' /etc/hosts
3 5
4. /etc/os-release 6. /etc/os-release
5 7