Skip to content

Commit

Permalink
Set the hostname in the merged vm.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 17, 2009
1 parent 4488372 commit c12f332
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions misc/merge.sh
Expand Up @@ -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
Expand Down

0 comments on commit c12f332

Please sign in to comment.