84 Commits

Author SHA1 Message Date
Prasanna Santhanam
63f303933a testbuiltin: reduce the root disk size
faster bootup and use less space

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-08-07 15:47:53 +05:30
Prasanna Santhanam
03150fd6ee CLOUDSTACK-3797: Including httpd permission and test page
- add a test page for the http service
- startup on boot
- configure iptables port :80
- cleanup iso files

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-28 12:21:02 +05:30
Prasanna Santhanam
0f7870332a CLOUDSTACK-3797: Fix wget installation of xs-tools in to the builtin
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-27 00:02:28 +05:30
Prasanna Santhanam
4bf7abcbe9 CLOUDSTACK-3797: remove duplicate packages from base.sh already in postinstall.sh
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-27 00:02:28 +05:30
Prasanna Santhanam
26a0fd5af9 CLOUDSTACK-3797: Builtin appliance definition using veewee
This appliance will be used for testing purposes only. The appliance
will replace the built-in in a test environment before deployment.

Some of the integration tests require specific services running within
guests to test for cloudstack features. Eg: VPC LB needs an httpd server
running. When we need to customize the template this appliance can be
used instead of having custom templates for each test.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-07-26 17:34:00 +05:30
Prasanna Santhanam
b020bcfb49 CLOUDSTACK-2481: SystemVM template 64-bit patched with vhd-util
This allows a template of a snapshot operation

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 337811dd810e413238a012381ae1c84d1e1fac7c)
2013-07-13 10:43:58 +05:30
Edison Su
d51fa1c063 set vhd-util executable 2013-07-12 10:59:38 -07: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
Hiroaki KAWAI
c484d8aaba Add notes about systemvm build script 2013-06-26 15:16:29 +09:00
Prasanna Santhanam
4591f94a0b Debian 7.0.0 in archives
Debian released 7.1 and moved the old image to archives. Updated with
the archives link to the -netinst image.

Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-06-22 16:25:22 +05:30
Edison Su
5456d0d85e CLOUDSTACK-2481: add vhd-util in system vm template 2013-06-20 17:51:38 -07: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
cb80ae2440 Debian repository (backports) now has latest haproxy, re-introduce into systemvm 2013-06-07 17:29:14 -07:00
Shane Witbeck
5fa1ad518f fix for incorrect secondary dns 2013-06-05 17:21:44 -04:00
Abhinandan Prateek
3000cb31af CLOUDSTACK-2434: Enable irq balance on system VM 2013-05-30 17:35:30 +05:30
Chiradeep Vittal
521e156520 CLOUDSTACK-2521: auto download ISO if not present 2013-05-15 15:33:57 -07:00
Nitin Mehta
c11dbad9c9 merge master 2013-05-11 15:28:43 +05:30
Rohit Yadav
81e1ba3bb4 appliance: Don't mkdir 70-persistent-net.rules for systemvms
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-04-19 09:05:42 +05:30
Rohit Yadav
d39a06c0e9 Revert "appliance: Revertible patch to create half baked template for vmware"
This reverts commit 91faf2d14aed94dbb403febf7d8a2c4b22cc7d1a.
2013-04-11 15:35:28 +05:30
Rohit Yadav
91faf2d14a appliance: Revertible patch to create half baked template for vmware
This is to allow buildjob to produce semi-automate template for vmware.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-04-11 15:23:04 +05:30
Rohit Yadav
09542ce70a appliance: Fix preseed, sum of partitions should be 2000M
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-04-11 00:09:12 +05:30
Rohit Yadav
ed79b8bf14 CLOUDSTACK-1867: Comment vmware-tools installation, use open-vm-tools
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-04-10 23:14:50 +05:30
Rohit Yadav
9fca393f01 appliance: Install open-vm-tools, vmwaretools alternative
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-04-10 18:10:03 +05:30
Rohit Yadav
11042121b2 appliance: only build-essential needed to build vmtools
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-04-10 18:04:54 +05:30
Rohit Yadav
26695151f6 appliance: Permute again, give some more megas to /usr for systemvm
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-04-10 18:01:49 +05:30
Rohit Yadav
bdc82627fe appliance: Permute partition space such as it succeeds during partitioning
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-04-10 17:04:51 +05:30
Rohit Yadav
dc3c834a22 appliance: Feed more disk space to /usr
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-04-10 16:47:33 +05:30
Rohit Yadav
b50201e69c appliance: Make more room in /usr, installing vmwaretools takes 'em all
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-04-10 16:27:56 +05:30
Rohit Yadav
26d772f740 CLOUDSTACK-1867: Install vmwaretools while buildling systemvms
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-04-10 16:06:54 +05:30
Rohit Yadav
9eaef0e7c7 appliance: Fix systemvm's preseed to give more space for /usr
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-04-10 16:06:54 +05:30
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
b3a3ad74c6 appliance: While building systemvms fetch src tarball from new git repo
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-26 11:26:50 +05:30
Rohit Yadav
87500f9796 appliance: veewee definition to build devcloud, work in progress
forked from systemvmtemplate

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-25 14:52:36 +05:30
Rohit Yadav
99ed891804 appliance: Fix readme and zerodisk /home
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-18 11:00:39 +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
9f4444c9e4 appliance: Add veewee definition for 64bit systemvm template
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-11 14:10:44 +05:30
Rohit Yadav
602ca7fe6d appliance: during cleanup remove veewee and vbox txt files
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-07 16:50:37 +05:30
Rohit Yadav
c2fbac4166 appliance: Use Debian Wheezy rc1 for building systemvm
We switch from Debian beta-4 i386 to rc1 i386.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-07 15:01:01 +05:30
Rohit Yadav
bb2c7dc728 CLOUDSTACK-1340: Fix grub2 cfg to boot without waiting, fix locale
Thanks to Marcus for testing and helping on KVM template, adding locale fix as
per Marcus's suggestion. Tested with latest build on my local vbox.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-03-06 14:21:06 +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