summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-12-20 14:55:43 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-12-20 14:55:43 -0800
commit3db5608b709d365b37a7df590862bbec4e845042 (patch)
treee7f41b79d23f44e6148172e5264320e11de42983 /scripts
parenta27a8f7b5501ef9fa1c8e3be0fed4430d0515271 (diff)
downloadvyatta-cfg-quagga-3db5608b709d365b37a7df590862bbec4e845042.tar.gz
vyatta-cfg-quagga-3db5608b709d365b37a7df590862bbec4e845042.zip
synchronize /etc/{hosts,hostname} during install-system
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-system.in3
1 files changed, 1 insertions, 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"