Repository: cloudstack Updated Branches: refs/heads/baremetal-systemvm [created] c1aa35fc0
CLOUDSTACK-7660: Enhance system vm template to support baremetal Installed Package flask and merged the disk partitions Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c1aa35fc Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c1aa35fc Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c1aa35fc Branch: refs/heads/baremetal-systemvm Commit: c1aa35fc0fb594f74041a025bdc8ef219f6df8c0 Parents: ff797df Author: Harikrishna Patnala <[email protected]> Authored: Mon Oct 6 19:25:53 2014 +0530 Committer: Kishan Kavala <[email protected]> Committed: Tue Oct 7 15:33:59 2014 +0530 ---------------------------------------------------------------------- systemvm/patches/debian/buildsystemvm.sh | 5 +++ .../definitions/systemvmtemplate/preseed.cfg | 32 +------------------- 2 files changed, 6 insertions(+), 31 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c1aa35fc/systemvm/patches/debian/buildsystemvm.sh ---------------------------------------------------------------------- diff --git a/systemvm/patches/debian/buildsystemvm.sh b/systemvm/patches/debian/buildsystemvm.sh index 7f6188a..f56ca1e 100755 --- a/systemvm/patches/debian/buildsystemvm.sh +++ b/systemvm/patches/debian/buildsystemvm.sh @@ -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 } http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c1aa35fc/tools/appliance/definitions/systemvmtemplate/preseed.cfg ---------------------------------------------------------------------- diff --git a/tools/appliance/definitions/systemvmtemplate/preseed.cfg b/tools/appliance/definitions/systemvmtemplate/preseed.cfg index 0d2f70b..2f0b6b1 100644 --- a/tools/appliance/definitions/systemvmtemplate/preseed.cfg +++ b/tools/appliance/definitions/systemvmtemplate/preseed.cfg @@ -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{ } \ .
