47 Commits

Author SHA1 Message Date
Will Stevens
3f8d0dd487 CLOUDSTACK-7959: fixed 'qemu-img convert' compat issue 2014-12-02 18:24:16 -05:00
Edison Su
f506f7c427 system vm image build process, needs to build an old version of qemu image, otherwise, it won't work on RHEL 6 2014-11-06 15:40:37 -08:00
Rohit Yadav
4217d157c5 appliance: box commands for dumb bash in cleaning branch name, in build.sh
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit edb5650c737d582595e134aab286e7304f299983)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-08 21:24:18 +02:00
Rohit Yadav
e71009a571 appliance: fix branch finding method from e16414e even Junio can be wrong
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit bbaefb8e5def610a654fba907c8ec3f868416bdf)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-08 20:30:42 +02:00
Rohit Yadav
ffe0f2f60f appliance: use the right way to get git branch name
Taken from Junio C Hamano's blog [1], git's maintainer, he must not be wrong :)

[1] http://git-blame.blogspot.ch/2013/06/checking-current-branch-programatically.html

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit e16414e56d8f398f8ddbbde89d3ee833582b8bb2)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-08-08 19:22:20 +02:00
Rohit Yadav
a0006a6990 appliance: change the way we find git branch in build.sh
(cherry picked from commit 493c0a68d2332cb9275902128c28f926a909f4ed)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>

Conflicts:
	tools/appliance/build.sh
2014-08-08 15:44:33 +02:00
Daan Hoogland
fec52be20e Revert "raw immage for ovm"
This reverts commit 23b1f228a1a779cbc5ba2f2f1f5e555684af6468.
2014-06-24 10:21:05 +02:00
Daan Hoogland
23b1f228a1 raw immage for ovm 2014-06-23 14:54:07 +02:00
Tim Mackey
a8212d9ef4 Cleanup of Xen and XenServer terms. Cloned xen plugin creating a xenserver plugin, then removed xen plugin
Signed-off-by: Tim Mackey <tmackey@gmail.com>
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-06-07 04:50:23 -04:00
rayeesn
5f11c2e0be CLOUDSTACK-6392: system template always create with name master instead of specific branch
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
2014-05-28 11:35:57 +05:30
ynojima
570c3a2130 bugfix: systemvm template build failed
since newer vboxmanage generates $appliance-$branch-vmware-disk3.vmdk
2014-05-21 18:27:24 -06:00
Ian Duffy
1213180219 Resolve issue with build script for systemvm hanging due to libssl waiting on a input prompt caused by apt-get update 2014-05-15 07:08:01 +01:00
Daan Hoogland
9b26ca20fc build recent systemvm[64]templates 2014-02-27 17:48:18 +01:00
Daan Hoogland
c1aa3a3f1a strip leading spaces from path 2014-02-27 16:11:52 +01:00
Hugo Trippaers
5e717cbb89 Fixed on master for jenkins buildslave 2014-02-19 16:21:43 +01:00
Hugo Trippaers
fefddc0624 Dynamically detect the current branch and remove the build date from the systemvm name. This makes it easier to push them to the download location automagically. 2014-02-19 09:36:03 +01:00
Hugo Trippaers
c2da280347 Add a zipped version of the hyperv image that we can store in the archives on the jenkins server 2014-01-23 09:06:33 +01:00
Hugo Trippaers
95a92ad2e3 Fix typo in convert call 2014-01-16 16:41:46 +01:00
Hugo Trippaers
5d24843ef5 Proper cleanup before the next build of the systemvm 2014-01-16 16:03:56 +01:00
Hugo Trippaers
bf26efc551 Little hack until we can install xsltproc on the buildslave 2014-01-16 15:33:05 +01:00
Hugo Trippaers
794d47c5f2 CLOUDSTACK-5883 Convert ovf file to proper format for ESXi 2014-01-16 14:43:44 +01:00
Darren Shepherd
decc04b294 Run veewee using 'bundler exec'
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
2013-09-22 10:56:22 +08:00
Edison Su
cf4dba34a4 Don't generate bzipped hyperv image 2013-06-27 12:09:39 -07:00
Hiroaki KAWAI
29c39e8f4e Add check for some cli programs
Add check for faketime and vhd-util for xen export.
2013-06-27 13:04:12 +09:00
Prasanna Santhanam
1c6e1012dc Fix the build system VM job
When both systemvmtemplate64 and systemvmtemplate are present the grep
match fails and returns (non-deterministically) the 64bit appliance
instead of the 32bit one. Fix this by matching the path separater as
well.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-12 20:25:20 +05:30
Chiradeep Vittal
521e156520 CLOUDSTACK-2521: auto download ISO if not present 2013-05-15 15:33:57 -07:00
Rohit Yadav
643ee1d15e CLOUDSTACK-1867: Export both ova and vmdk systemvm appliances for VMWare
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-04-10 13:05:54 +05:30
Rohit Yadav
9af338c651 appliance: While building don't just check empty arg, check if it was passed
The fix makes systemvmtemplate as the default veewee vbox appliance if not
other appliance is provided to be built

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-12 17:58:15 +05:30
Rohit Yadav
7e7ceba83b appliance: Fix hardcoded appliance name while checking and removing shared folders
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-11 14:56:20 +05:30
Rohit Yadav
72c1a888eb appliance: Fix build.sh to build 64bit systemvm appliance as well
TODO: Make it general like boxer.sh in tools/devcloud/src

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-11 14:19:30 +05:30
Rohit Yadav
34b37ef8ed CLOUDSTACK-1340: Compress QCOW2 for KVM
As suggested by Marcus, by compression qcow2, we end up having smaller disk image.
I'm still archiving the qcow2 as bz2 because our installation manual still ask
users to cloud-install-sys-tmplt which expects a *.qcow2.bz2

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-05 18:35:09 +05:30
Rohit Yadav
b55f5898d5 CLOUDSTACK-1340: Exit script if exporting fails for any disk format
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-01 21:02:04 +05:30
Rohit Yadav
26edb3c0aa CLOUDSTACK-1340: Just take the first of results, query and remove shared folders
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-01 20:39:52 +05:30
Rohit Yadav
0f30c1e6b0 CLOUDSTACK-1340: Fix typo in variable in build.sh
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-01 20:04:03 +05:30
Rohit Yadav
512c16f483 CLOUDSTACK-1340: Do two rounds of vhd export, from raw to fixed to dynamic
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-01 16:59:02 +05:30
Rohit Yadav
0b07bc974a CLOUDSTACK-1340: Remove any shared folders, don't install legacy grub
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-01 15:08:19 +05:30
Rohit Yadav
e80ccea517 CLOUDSTACK-1340: Jenkins fails for changing directories, rvm sourcing fails
http://jenkins.cloudstack.org/job/build-systemvm-master/64/console

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-28 17:37:02 +05:30
Rohit Yadav
44f345e4c6 CLOUDSTACK-1340: Fix destination path issue, vbox's internalcommands issue
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-28 16:55:41 +05:30
Rohit Yadav
80a6aaf7e1 CLOUDSTACK-1340: Fix locale, cmd, disk size and remove multiple apt-get installs
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-28 16:15:09 +05:30
Rohit Yadav
673700a1a2 CLOUDSTACK-1340: Fix raw disk export using vbox internalcommand
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-28 15:58:50 +05:30
Rohit Yadav
23be2e7ba0 CLOUDSTACK-1340: Shrink the final virtual disk, vmdk was not supported, use vdi
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-27 16:59:34 +05:30
Rohit Yadav
e24e6d747c CLOUDSTACK-1066: Make appliance export verbose, put archived images in dist/
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-19 13:25:23 +05:30
Rohit Yadav
a5f77d348d CLOUDSTACK-1066: RVM needs a login shell, fix build.sh to start with a login shell
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-19 12:31:32 +05:30
Rohit Yadav
a6f5052958 CLOUDSTACK-1066: Wait for appliance to shutdown before exporting to various fmts
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-19 11:42:34 +05:30
Rohit Yadav
c97653b42e systemvmtemplate: Clean any old vm before building appliance
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-18 21:33:15 +05:30
Rohit Yadav
a4ed061dbf systemvmtemplate: Fix build.sh to export ova, vhd, qcow2 and vhd-hyperv
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-18 18:52:03 +05:30
Rohit Yadav
825c1c17a1 CLOUDSTACK-1066: Add building script to build appliance
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-15 19:51:26 +05:30