# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.251 2005/04/29 14:40:25 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.252 2005/04/29 14:43:18 rocket Exp $
+
+ 29 Apr 2005; Eric Edgar <rocket@gentoo.org>
+ targets/support/livecdfs-update.sh:
+ Change default hostnames for livecds
29 Apr 2005; Eric Edgar <rocket@gentoo.org>
targets/support/bootloader-setup.sh, targets/support/livecdfs-update.sh:
#!/bin/bash
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/livecdfs-update.sh,v 1.12 2005/04/29 14:40:25 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/support/livecdfs-update.sh,v 1.13 2005/04/29 14:43:18 rocket Exp $
. /tmp/chroot-functions.sh
update_env_settings
# setup the hostname
case ${clst_livecd_type} in
gnap)
+ echo "livecd" > /etc/hostname
echo "gentoo" > /etc/dnsdomainname
echo "127.0.0.1 livecd.gentoo livecd localhost" > /etc/hosts
;;
echo "127.0.0.1 gamecd.gentoo gamecd localhost" > /etc/hosts
;;
gentoo-*)
- echo "livecd" > /etc/hostname
+ echo "gentoo-livecd" > /etc/hostname
echo "gentoo" > /etc/dnsdomainname
- echo "127.0.0.1 livecd.gentoo livecd localhost" > /etc/hosts
+ echo "127.0.0.1 gentoo-livecd.gentoo gentoo-livecd localhost" > /etc/hosts
;;
*)
- echo "catalyst-livecd" > /etc/hostname
+ echo "livecd" > /etc/hostname
echo "gentoo" > /etc/dnsdomainname
- echo "127.0.0.1 catalyst-livecd catalyst-livecd.gentoo livecd localhost" > /etc/hosts
+ echo "127.0.0.1 livecd.gentoo livecd localhost" > /etc/hosts
;;
esac