mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7660: Enhance system vm template to support baremetal
Installed Package flask and merged the disk partitions
This commit is contained in:
parent
ff797dfa59
commit
c1aa35fc0f
|
|
@ -382,6 +382,11 @@ packages() {
|
|||
|
||||
echo "***** getting jre 7 *********"
|
||||
chroot . apt-get --no-install-recommends -q -y install openjdk-7-jre-headless
|
||||
|
||||
chroot . apt-get --no-install-recommends -q -y install python-dev python-pip libpcre3-dev
|
||||
|
||||
# Baremetal tools
|
||||
chroot . pip install flask
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -44,42 +44,12 @@ d-i partman-auto/method string regular
|
|||
d-i partman-auto/choose_recipe select atomic
|
||||
d-i partman-auto/expert_recipe string \
|
||||
boot-root :: \
|
||||
30 50 100 ext4 \
|
||||
1024 50 2048 ext4 \
|
||||
$primary{ } $bootable{ } \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ /boot } \
|
||||
. \
|
||||
400 40 500 ext4 \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ / } \
|
||||
. \
|
||||
50 100 200 ext4 \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ /home } \
|
||||
. \
|
||||
700 70 1100 ext4 \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ /usr } \
|
||||
. \
|
||||
400 40 500 ext4 \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ /opt } \
|
||||
. \
|
||||
450 70 1000 ext4 \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ /var } \
|
||||
. \
|
||||
50 60 100 ext4 \
|
||||
method{ format } format{ } \
|
||||
use_filesystem{ } filesystem{ ext4 } \
|
||||
mountpoint{ /tmp } \
|
||||
. \
|
||||
70 100 256 linux-swap \
|
||||
method{ swap } format{ } \
|
||||
.
|
||||
|
|
|
|||
Loading…
Reference in New Issue