From 3db5608b709d365b37a7df590862bbec4e845042 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Thu, 20 Dec 2007 14:55:43 -0800 Subject: synchronize /etc/{hosts,hostname} during install-system --- scripts/install-system.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/install-system.in b/scripts/install-system.in index c4e46217..6454b8d0 100755 --- a/scripts/install-system.in +++ b/scripts/install-system.in @@ -472,8 +472,7 @@ install_root_filesystem () { echo -e "/dev/$ROOT_PARTITION\t/\text3\tdefaults\t0 1" >> $rootfsdir/etc/fstab #setup the hostname file - rm -f $rootfsdir/etc/hostname - echo vyatta > $rootfsdir/etc/hostname + cp /etc/hostname $rootfsdir/etc/ cp /etc/hosts $rootfsdir/etc/ progress_indicator "stop" -- cgit v1.2.3