about summary refs log tree commit diff
path: root/dracut
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2014-11-04 18:34:16 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2014-11-04 18:34:16 +0100
commit738d3c50689058f3c3ead083fe435f41e8a15660 (patch)
tree2960539138306cd889b46c44a77b09321c67d6a8 /dracut
parent4e5adc6f040de9e14d43cf0471f5313efb30dbec (diff)
downloadhrmpf-738d3c50689058f3c3ead083fe435f41e8a15660.tar.gz
hrmpf-738d3c50689058f3c3ead083fe435f41e8a15660.tar.xz
hrmpf-738d3c50689058f3c3ead083fe435f41e8a15660.zip
This is hrmpf
Diffstat (limited to 'dracut')
-rw-r--r--dracut/adduser.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/dracut/adduser.sh b/dracut/adduser.sh
index 6d0142c..0379690 100644
--- a/dracut/adduser.sh
+++ b/dracut/adduser.sh
@@ -4,7 +4,7 @@
 
 type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh
 
-echo void-live > ${NEWROOT}/etc/hostname
+echo hrmpf > ${NEWROOT}/etc/hostname
 
 USERNAME=$(getarg live.user)
 USERSHELL=$(getarg live.shell)
@@ -48,3 +48,5 @@ polkit.addRule(function(action, subject) {
 _EOF
     chroot ${NEWROOT} chown polkitd:polkitd /etc/polkit-1/rules.d/void-live.rules
 fi
+
+chroot ${NEWROOT} usermod -s /bin/bash root