CLOUDSTACK-7660: Enhance system vm template to support baremetal

Installed Package flask and merged the disk partitions
This commit is contained in:
Harikrishna Patnala 2014-10-06 19:25:53 +05:30 committed by Kishan Kavala
parent ff797dfa59
commit c1aa35fc0f
2 changed files with 6 additions and 31 deletions

View File

@ -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
}

View File

@ -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{ } \
.