]> git.donarmstrong.com Git - neurodebian.git/blobdiff - vm/d-i/tools/initial_setup
assure persistent hostname 'neurodebian' -- write it into /etc/hostname
[neurodebian.git] / vm / d-i / tools / initial_setup
index da4cb1bce61acfa9de070a145fb0fe287230e39b..8261b317869c3ee31c20df861ddc332889648e74 100755 (executable)
@@ -16,7 +16,8 @@ set -u
 # domain: ''
 
 # Needs to be assured since it got reset to debian
-hostname neurodebian
+hostname neurodebian  # this is not a permanent change
+echo "neurodebian" >| /etc/hostname  # make it permanent
 sed -i -e 's/^127\.0\.1\.1.*/127.0.1.1\tneurodebian/g' /etc/hosts
 
 # all file in one partition