mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-1867: Comment vmware-tools installation, use open-vm-tools
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
7efbcfa9bf
commit
ed79b8bf14
|
|
@ -65,18 +65,19 @@ install_packages() {
|
|||
|
||||
# vmware tools
|
||||
apt-get --no-install-recommends -q -y --force-yes install open-vm-tools
|
||||
apt-get --no-install-recommends -q -y --force-yes install build-essential linux-headers-`uname -r`
|
||||
df -h
|
||||
PREVDIR=$PWD
|
||||
cd /opt
|
||||
wget http://people.apache.org/~bhaisaab/cloudstack/VMwareTools-9.2.1-818201.tar.gz
|
||||
tar xzf VMwareTools-9.2.1-818201.tar.gz
|
||||
rm VMwareTools-*.tar.gz
|
||||
cd vmware-tools-distrib
|
||||
./vmware-install.pl -d
|
||||
cd $PREV
|
||||
rm -fr /opt/vmware-tools-distrib
|
||||
apt-get -q -y --force-yes purge build-essential
|
||||
# commented installaion of vmware-tools as we are using the opensource open-vm-tools:
|
||||
# apt-get --no-install-recommends -q -y --force-yes install build-essential linux-headers-`uname -r`
|
||||
# df -h
|
||||
# PREVDIR=$PWD
|
||||
# cd /opt
|
||||
# wget http://people.apache.org/~bhaisaab/cloudstack/VMwareTools-9.2.1-818201.tar.gz
|
||||
# tar xzf VMwareTools-9.2.1-818201.tar.gz
|
||||
# rm VMwareTools-*.tar.gz
|
||||
# cd vmware-tools-distrib
|
||||
# ./vmware-install.pl -d
|
||||
# cd $PREV
|
||||
# rm -fr /opt/vmware-tools-distrib
|
||||
# apt-get -q -y --force-yes purge build-essential
|
||||
}
|
||||
|
||||
setup_accounts() {
|
||||
|
|
@ -184,7 +185,7 @@ configure_services() {
|
|||
snapshot_url="https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=snapshot;h=HEAD;sf=tgz"
|
||||
snapshot_dir="/opt/cloudstack*"
|
||||
cd /opt
|
||||
wget $snapshot_url -O cloudstack.tar.gz
|
||||
wget --no-check-certificate $snapshot_url -O cloudstack.tar.gz
|
||||
tar -zxvf cloudstack.tar.gz
|
||||
cp -rv $snapshot_dir/patches/systemvm/debian/config/* /
|
||||
cp -rv $snapshot_dir/patches/systemvm/debian/vpn/* /
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ d-i partman-auto/expert_recipe string \
|
|||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ /boot } \
|
||||
. \
|
||||
250 40 400 ext4 \
|
||||
300 40 400 ext4 \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ / } \
|
||||
|
|
@ -146,17 +146,17 @@ d-i partman-auto/expert_recipe string \
|
|||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ /home } \
|
||||
. \
|
||||
900 20 1100 ext4 \
|
||||
700 20 1100 ext4 \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ /usr } \
|
||||
. \
|
||||
300 40 500 ext4 \
|
||||
400 40 500 ext4 \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ /opt } \
|
||||
. \
|
||||
450 60 1000 ext4 \
|
||||
500 60 1000 ext4 \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ /var } \
|
||||
|
|
|
|||
|
|
@ -65,18 +65,19 @@ install_packages() {
|
|||
|
||||
# vmware tools
|
||||
apt-get --no-install-recommends -q -y --force-yes install open-vm-tools
|
||||
apt-get --no-install-recommends -q -y --force-yes install build-essential linux-headers-`uname -r`
|
||||
df -h
|
||||
PREVDIR=$PWD
|
||||
cd /opt
|
||||
wget http://people.apache.org/~bhaisaab/cloudstack/VMwareTools-9.2.1-818201.tar.gz
|
||||
tar xzf VMwareTools-9.2.1-818201.tar.gz
|
||||
rm VMwareTools-*.tar.gz
|
||||
cd vmware-tools-distrib
|
||||
./vmware-install.pl -d
|
||||
cd $PREV
|
||||
rm -fr /opt/vmware-tools-distrib
|
||||
apt-get -q -y --force-yes purge build-essential
|
||||
# commented installaion of vmware-tools as we are using the opensource open-vm-tools:
|
||||
# apt-get --no-install-recommends -q -y --force-yes install build-essential linux-headers-`uname -r`
|
||||
# df -h
|
||||
# PREVDIR=$PWD
|
||||
# cd /opt
|
||||
# wget http://people.apache.org/~bhaisaab/cloudstack/VMwareTools-9.2.1-818201.tar.gz
|
||||
# tar xzf VMwareTools-9.2.1-818201.tar.gz
|
||||
# rm VMwareTools-*.tar.gz
|
||||
# cd vmware-tools-distrib
|
||||
# ./vmware-install.pl -d
|
||||
# cd $PREV
|
||||
# rm -fr /opt/vmware-tools-distrib
|
||||
# apt-get -q -y --force-yes purge build-essential
|
||||
}
|
||||
|
||||
setup_accounts() {
|
||||
|
|
@ -184,7 +185,7 @@ configure_services() {
|
|||
snapshot_url="https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=snapshot;h=HEAD;sf=tgz"
|
||||
snapshot_dir="/opt/cloudstack*"
|
||||
cd /opt
|
||||
wget $snapshot_url -O cloudstack.tar.gz
|
||||
wget --no-check-certificate $snapshot_url -O cloudstack.tar.gz
|
||||
tar -zxvf cloudstack.tar.gz
|
||||
cp -rv $snapshot_dir/patches/systemvm/debian/config/* /
|
||||
cp -rv $snapshot_dir/patches/systemvm/debian/vpn/* /
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ d-i partman-auto/expert_recipe string \
|
|||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ /boot } \
|
||||
. \
|
||||
250 40 400 ext4 \
|
||||
300 40 400 ext4 \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ / } \
|
||||
|
|
@ -146,17 +146,17 @@ d-i partman-auto/expert_recipe string \
|
|||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ /home } \
|
||||
. \
|
||||
900 20 1100 ext4 \
|
||||
700 20 1100 ext4 \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ /usr } \
|
||||
. \
|
||||
300 40 500 ext4 \
|
||||
400 40 500 ext4 \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ /opt } \
|
||||
. \
|
||||
450 60 1000 ext4 \
|
||||
500 60 1000 ext4 \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ /var } \
|
||||
|
|
|
|||
Loading…
Reference in New Issue