diff options
author | bencoh <bencoh@19625182-23af-4830-9084-f181c60b83b7> | 2010-07-16 07:55:40 +0000 |
---|---|---|
committer | bencoh <bencoh@19625182-23af-4830-9084-f181c60b83b7> | 2010-07-16 07:55:40 +0000 |
commit | 77cdc9be7e9545cd3d763d73091d8a00699d9b8d (patch) | |
tree | 7177b53b2b4c71e21da1c514fc2de6ddc2da7907 /bootstrap | |
parent | c33dba0f24d53a0397822479537263c3ff89a37a (diff) |
bootstrap: fixed hardcoded timezone. cleaning.
git-svn-id: https://svn.notk.org/bencoh/kvm-wrapper/@21 19625182-23af-4830-9084-f181c60b83b7
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap/lenny/bootstrap.sh | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/bootstrap/lenny/bootstrap.sh b/bootstrap/lenny/bootstrap.sh index 4671375..264924a 100755 --- a/bootstrap/lenny/bootstrap.sh +++ b/bootstrap/lenny/bootstrap.sh @@ -100,18 +100,12 @@ EOF # Copy some files/configuration from host bs_copy_from_host /etc/hosts bs_copy_from_host /etc/resolv.conf - bs_copy_conf_dir -# bs_copy_from_host /etc/bash.bashrc -# bs_copy_from_host /etc/profile -# bs_copy_from_host /root/.bashrc -# bs_copy_from_host /etc/vim/vimrc -# bs_copy_from_host /etc/screenrc -# bs_copy_from_host /etc/apt/sources.list - echo "$VM_NAME" > "$MNTDIR/etc/hostname" - - echo "Europe/Paris" > "$MNTDIR/etc/timezone" - cp /usr/share/zoneinfo/Europe/Paris "$MNTDIR/etc/localtime" + bs_copy_from_host /etc/timezone + bs_copy_from_host /etc/localtime + echo "$VM_NAME" > "$MNTDIR/etc/hostname" + # Custom files + bs_copy_conf_dir # fstab cat > "$MNTDIR/etc/fstab" << EOF |