From c12f332cea0ba0bdf9fb56b8a2255865d51f2748 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 17 Oct 2009 18:29:47 -0400 Subject: [PATCH] Set the hostname in the merged vm. --- misc/merge.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc/merge.sh b/misc/merge.sh index 1093409..bc38e87 100755 --- a/misc/merge.sh +++ b/misc/merge.sh @@ -87,6 +87,9 @@ mv /x86_64/boot/*-generic /x86_64/boot/x86_64/ 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