Skip to content

Commit 91faf2d

Browse files
committed
appliance: Revertible patch to create half baked template for vmware
This is to allow buildjob to produce semi-automate template for vmware. Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent 5cd3608 commit 91faf2d

2 files changed

Lines changed: 8 additions & 10 deletions

File tree

‎tools/appliance/definitions/systemvmtemplate/postinstall.sh‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ install_packages() {
6464
apt-get --no-install-recommends -q -y --force-yes install iptables-persistent
6565

6666
# vmware tools
67-
apt-get --no-install-recommends -q -y --force-yes install open-vm-tools
67+
#apt-get --no-install-recommends -q -y --force-yes install open-vm-tools
6868
# commented installaion of vmware-tools as we are using the opensource open-vm-tools:
69-
# apt-get --no-install-recommends -q -y --force-yes install build-essential linux-headers-`uname -r`
69+
apt-get --no-install-recommends -q -y --force-yes install build-essential linux-headers-`uname -r`
7070
# df -h
7171
# PREVDIR=$PWD
7272
# cd /opt
@@ -186,6 +186,9 @@ configure_services() {
186186
snapshot_dir="/opt/cloudstack*"
187187
cd /opt
188188
wget --no-check-certificate $snapshot_url -O cloudstack.tar.gz
189+
}
190+
191+
cfg_cloud_early() {
189192
tar -zxvf cloudstack.tar.gz
190193
cp -rv $snapshot_dir/patches/systemvm/debian/config/* /
191194
cp -rv $snapshot_dir/patches/systemvm/debian/vpn/* /

‎tools/appliance/definitions/systemvmtemplate/preseed.cfg‎

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ d-i partman-auto/expert_recipe string \
136136
use_filesystem{ } filesystem{ ext4 } \
137137
mountpoint{ /boot } \
138138
. \
139-
300 40 400 ext4 \
139+
500 40 400 ext4 \
140140
method{ format } format{ } \
141141
use_filesystem{ } filesystem{ ext4 } \
142142
mountpoint{ / } \
@@ -146,17 +146,12 @@ d-i partman-auto/expert_recipe string \
146146
use_filesystem{ } filesystem{ ext4 } \
147147
mountpoint{ /home } \
148148
. \
149-
650 20 1100 ext4 \
149+
900 20 1100 ext4 \
150150
method{ format } format{ } \
151151
use_filesystem{ } filesystem{ ext4 } \
152152
mountpoint{ /usr } \
153153
. \
154-
400 40 500 ext4 \
155-
method{ format } format{ } \
156-
use_filesystem{ } filesystem{ ext4 } \
157-
mountpoint{ /opt } \
158-
. \
159-
450 60 1000 ext4 \
154+
400 60 1000 ext4 \
160155
method{ format } format{ } \
161156
use_filesystem{ } filesystem{ ext4 } \
162157
mountpoint{ /var } \

0 commit comments

Comments
 (0)