diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-12-20 14:55:43 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-12-20 14:55:43 -0800 |
commit | 3db5608b709d365b37a7df590862bbec4e845042 (patch) | |
tree | e7f41b79d23f44e6148172e5264320e11de42983 /scripts | |
parent | a27a8f7b5501ef9fa1c8e3be0fed4430d0515271 (diff) | |
download | vyatta-cfg-system-3db5608b709d365b37a7df590862bbec4e845042.tar.gz vyatta-cfg-system-3db5608b709d365b37a7df590862bbec4e845042.zip |
synchronize /etc/{hosts,hostname} during install-system
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/install-system.in | 3 |
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" |