Skip to content

Commit 6c04d86

Browse files
Harikrishna PatnalaSrikanteswaraRao Talluri
authored andcommitted
CLOUDSTACK-7660: Enhance system vm template to support baremetal
Installed flask package and removed the disk expert recipe in system vm template to keep only one partition Signed-off-by: Frank Zhang <frank.zhang@citrix.com>
1 parent 93529e4 commit 6c04d86

2 files changed

Lines changed: 1 addition & 41 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ function install_packages() {
7171
iptables-persistent \
7272
libtcnative-1 libssl-dev libapr1-dev \
7373
open-vm-tools \
74+
python-flask \
7475
haproxy \
7576
radvd \
7677
sharutils

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

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -42,47 +42,6 @@ d-i clock-setup/ntp boolean true
4242
d-i partman-auto/disk string /dev/sda
4343
d-i partman-auto/method string regular
4444
d-i partman-auto/choose_recipe select atomic
45-
d-i partman-auto/expert_recipe string \
46-
boot-root :: \
47-
30 50 100 ext4 \
48-
$primary{ } $bootable{ } \
49-
method{ format } format{ } \
50-
use_filesystem{ } filesystem{ ext4 } \
51-
mountpoint{ /boot } \
52-
. \
53-
400 40 500 ext4 \
54-
method{ format } format{ } \
55-
use_filesystem{ } filesystem{ ext4 } \
56-
mountpoint{ / } \
57-
. \
58-
50 100 200 ext4 \
59-
method{ format } format{ } \
60-
use_filesystem{ } filesystem{ ext4 } \
61-
mountpoint{ /home } \
62-
. \
63-
700 70 1100 ext4 \
64-
method{ format } format{ } \
65-
use_filesystem{ } filesystem{ ext4 } \
66-
mountpoint{ /usr } \
67-
. \
68-
400 40 500 ext4 \
69-
method{ format } format{ } \
70-
use_filesystem{ } filesystem{ ext4 } \
71-
mountpoint{ /opt } \
72-
. \
73-
450 70 1000 ext4 \
74-
method{ format } format{ } \
75-
use_filesystem{ } filesystem{ ext4 } \
76-
mountpoint{ /var } \
77-
. \
78-
50 60 100 ext4 \
79-
method{ format } format{ } \
80-
use_filesystem{ } filesystem{ ext4 } \
81-
mountpoint{ /tmp } \
82-
. \
83-
70 100 256 linux-swap \
84-
method{ swap } format{ } \
85-
.
8645
d-i partman/confirm_write_new_label boolean true
8746
d-i partman/choose_partition select finish
8847
d-i partman/confirm boolean true

0 commit comments

Comments
 (0)