Set the hostname in the merged vm.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 17 Oct 2009 18:29:47 -0400
changeset 90 24ac718efc8e
parent 89 dabe6250c46f
child 91 3ed5a54d818f
Set the hostname in the merged vm.
misc/merge.sh
--- a/misc/merge.sh	Sat Oct 17 18:18:32 2009 -0400
+++ b/misc/merge.sh	Sat Oct 17 18:29:47 2009 -0400
@@ -87,6 +87,9 @@
 cp -av /x86/boot/*-generic /x86_64/boot/x86/
 cp ../grubmenu.txt /x86_64/boot/grub/menu.lst
 
+# Set the hostname.
+echo "fatelf" >> /x86_64/etc/hostname
+
 # Hack: force hald to regenerate cache on each run, since it writes a size_t
 #  in there that causes crashes when you switch between 64 and 32 bit mode.
 echo "rm -f /var/cache/hald/fdi-cache" >> /x86_64/etc/default/hal