80 Commits

Author SHA1 Message Date
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
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
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
6380e2004c CLOUDSTACK-1340: apt-get autoclean and then clean to remove cached debs
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-28 16:02:44 +05:30
Rohit Yadav
644a73bb2f CLOUDSTACK-1340: Don't remove all scripts in /root, rm only those copied by veewee
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-28 13:19:59 +05:30
Rohit Yadav
a5ab63602d CLOUDSTACK-1340: Fix typos, paths, create user cloud and make 'em invincible
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-27 18:40:51 +05:30
Rohit Yadav
9c6ced96c1 CLOUDSTACK-1340: Fix path issues in postinstall.sh, zerodisk on all partitions
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-27 17:56:55 +05:30
Rohit Yadav
51f66e2b52 CLOUDSTACK-1340: Correct paths used to create cloud-script.tar, fix debug msgs
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-27 17:16:18 +05:30
Rohit Yadav
ff32ae5305 CLOUDSTACK-1340: During cleanup deluser vagrant, sync after zero-ing the disk
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-27 17:00:17 +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
aabaf25ce4 CLOUDSTACK-1340: Install scripts and packages which were in previous systemvm
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-27 16:37:57 +05:30
Chiradeep Vittal
091682cf67 CLOUDSTACK-1066: remove useless config.dat 2013-02-19 23:36:08 -08:00
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
ab63a433ec systemvmtemplate: Fix definitions and partition map
- Fix definitions, create vhd (virtual disk) format (reusable for hyperv)
- Fix partition maps in preseed, create /boot, /home, /var, /usr, /opt etc.

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-18 18:52:02 +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
Rohit Yadav
98c0a4fb9d CLOUDSTACK-1066: Fix FIXMEs, rename script to postinstall.sh
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-12 18:28:55 +05:30
Rohit Yadav
4b268c4ae6 CLOUDSTACK-1066: Add random password for cloud, fix trailing whitespaces, cleanup isos
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-12 17:58:17 +05:30
Chip Childers
ebe738ee20 CLOUDSTACK-1233: Fixed veewee config file legal documentation
The veewee configuration files used for the devcloud base-box build, as
well as the newly introduced files used to create a system vm, were
inappropriately identified as ASLv2 licensed and copyrighted by the ASF.

The fixes:
- The ASF headers stripped to match the source.
- The files are now excluded from RAT checks in the root pom.
- The tools/whisker/descriptor.xml file updated
- The root LICENSE and NOTICE were re-generated

Changes in the Apache Whisker templates for LICENSE and NOTICE files
caused a good bit of whitespace oddness in this commit for those 2
files.

Signed-off-by: Chip Childers <chip.childers@gmail.com>
2013-02-11 21:40:06 -05:00
Chiradeep Vittal
9e13533e21 CLOUDSTACK-1066: fetch cloudstack init files for systemvm from git.
Currently fetching from HEAD, for a particular branch it should be fetched from the respective branch
2013-02-11 10:25:10 -08:00
Chiradeep Vittal
78b00f51a9 CLOUDSTACK-1066: fixes
cloudstack-packages: fixes install_packages (diff -> diffutils),
                     use debconf-set-selections for iptables-persistent
preseed.cfg : change root password, use separate partitions for /usr /var /home
definition.rb: reset timeout to sane value
cleanup.sh, zerodisk.sh: move wipe of root directory to zerodisk
2013-02-08 17:44:56 -08:00
Chiradeep Vittal
606fa9df70 Add ASL to scripts as a temporary workaround for RAT breakage. This will get changed to MIT license later 2013-02-08 13:05:24 -08:00
Chiradeep Vittal
82dc16e58a CLOUDSTACK-1066: no need for build helpers. Also reduces attack surface of system vm
CLOUDSTACK-1066: no need for busybox and dictionaries

CLOUDSTACK-1066: fix bug in generating signature

CLOUDSTACK-1066: don't confuse veewee about root password
Clean up stuff copied in to vm by veewee
2013-02-08 12:52:41 -08:00
Chiradeep Vittal
31791e241d CLOUDSTACK-1066: fix openswan install to not require interactive input 2013-02-08 12:52:19 -08:00
Chiradeep Vittal
eaaf880dcf CLOUDSTACK-1066: add license and attribution 2013-02-07 19:06:47 -08:00
Chiradeep Vittal
97833c9f93 CLOUDSTACK-1066: bug fixes to cloudstack package script 2013-02-07 19:02:22 -08:00
Chiradeep Vittal
ee9baefe3f CLOUDSTACK-1066: restore modularity in config files by splitting postinstall tasks
Add config.dat to ensure that openswan install does not hang asking for user input
2013-02-07 19:02:22 -08:00
Chiradeep Vittal
990d20b67b CLOUDSTACK-1066 slim down the package by not choosing 'standard'.
Allow root user to login (FIXME) otherwise veewee is unable to login
2013-02-07 19:02:21 -08:00
Chiradeep Vittal
3dea9a7be5 Summary: Remove superfluous chroot and change to use standard jre
Detail: Since the script executes inside the running vm, the chroot is not necessary. Also the standard jre is used instead of sun jre.

BUG-ID: CLOUDSTACK-1066
Signed-off-by: Chiradeep Vittal <chiradeep@apache.org> 1360277071 -0800
2013-02-07 14:48:18 -08:00
Rohit Yadav
04d51c9e4d CLOUDSTACK-1066: Fix only one postinstall script, install packages etc.
- Remove different scripts, just use postinstall.sh that runs after basic appliance
  is built using veewee
- Port package installation method from old script
- Time the installation/build process

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-07 17:42:35 +05:30
Rohit Yadav
f97e2a6297 CLOUDSTACK-1066: Add definitions for building systemvm template appliance
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-05 18:02:52 +05:30