Commit graph

187 commits

Author SHA1 Message Date
Anders Ingemann
0bc745ea94 Remove plugin enabled flag from kvm mnfst 2014-04-08 21:26:15 +02:00
Anders Ingemann
71b28af3bd Merge branch 'master' into development 2014-04-08 20:03:26 +02:00
Rory Finnegan
4b5c2d8c5f Added YAML config support.
- Manifest format parsing is now checked by the file extension ie: .json, .yml or .yaml.
- load_yaml in common/tools is the same as the json version.
- schema checking of manifest still passes (and fails appropriately) like the json manifests.
- I've also included a sample yaml config based off of the debian test json manifest.
2014-04-08 14:45:12 +00:00
James Bromberger
9c759fe8bf ASwitch manifests ot explicitly use Ec2 for metadata. Swap S3 to use a 4GB root FS. 2014-04-08 12:34:25 +00:00
James Bromberger
b034ca8ed1 Correct merge/rebase. Fix handling of console to hvc0. Try and pre-seed cloud-init. 2014-04-08 10:09:02 +00:00
Olivier Sallou
fb5d630c9b add azure provider 2014-04-08 08:53:26 +02:00
James Bromberger
334ef9209b Merge remote-tracking branch 'upstream/master'
Conflicts:
	bootstrapvz/common/tasks/apt.py
2014-04-05 09:38:21 +00:00
Anders Ingemann
33a430566b bootstrap-vz is now a proper python package
logs/ was remove. logs are now placed in /var/logs/bootstrap-vz instead
2014-04-02 23:25:50 +02:00
Anders Ingemann
be96e4c13f Move code into proper package folder 2014-04-02 21:26:13 +02:00
James Bromberger
9517f8cd42 Manifest files for Squeeze (now oldstable). 2014-03-23 08:56:48 +00:00
Anders Ingemann
6c18bca05a Move virtio module list into "system". Fixes #5 2014-02-27 23:02:58 +01:00
Anders Ingemann
7ef63ad072 Set hostname to localhost in vagrant manifest 2014-02-26 18:25:15 +01:00
James Bromberger
d11aee0e3e Add S3 backed AMI manifest for China (Beijing). 2014-02-08 18:46:23 +00:00
James Bromberger
628957c304 Add PVM manifest file for China (amd64). 2014-02-08 18:37:10 +00:00
James Brombegrer
b64ad495ab Only delete files form the image if they exist. Add in an HVM manifest file. 2014-02-07 17:42:45 +00:00
Anders Ingemann
6926977a30 Merge pull request #134 from osallou/add_kvm_provider
add KVM provider with virtio support
2014-02-03 08:23:50 -08:00
Olivier Sallou
f4ecac900f add KVM provider with virtio support 2014-02-01 16:50:46 +01:00
Tomasz Rybak
f3195b5f6b Add example testing manifest and configuration, fix apt sources configuration. 2014-01-25 16:49:59 +01:00
Tomasz Rybak
99ae9988ff Add testing distribution and ability to use non-main sections. 2014-01-25 15:52:58 +01:00
Anders Ingemann
a840dc28f3 MBR-gap, grub and GPT offset are now subtracted
automatically from the first available partition.
There is no need to fiddle with sizes while keeping the offsets in mind any longer.
Introduced Bytes() class which makes it a lot easier to handle size units.
2014-01-19 13:21:35 +01:00
Anders Ingemann
81a4ec78eb Post-MBR size increased to 2.
Also, move the size addition into the volume model
2014-01-18 23:35:21 +01:00
Anders Ingemann
889812b1ad Rename MBR partition table to MSDOS
Calling it MBR is just confusing
2014-01-18 23:27:52 +01:00
Tomasz Rybak
4b9d801734 Allow for building unstable release images. 2014-01-12 21:18:51 +01:00
Anders Ingemann
dcae0e156e Vagrant plugin creates its own user etc. now
There is no need to rely on other plugins any longer
2014-01-12 12:44:32 +01:00
Anders Ingemann
44f3296426 Extlinux support
The bootloader is now specified in the manifest
2014-01-05 02:25:28 +01:00
Anders Ingemann
68368b1782 Use cloudfront mirror in ec2 manifests 2014-01-05 02:25:28 +01:00
Anders Ingemann
d9a7f3d1e4 Make plugins key a required manifest property 2014-01-05 02:25:26 +01:00
Anders Ingemann
31f3a71464 New plugin: vagrant
Example manifest file also added
2014-01-05 02:25:26 +01:00
Anders Ingemann
4ffb533625 Use new package handling in the cloud-init plugin
This saves quite a few "package" lines in the manifest
2014-01-05 02:24:29 +01:00
Anders Ingemann
8d32339fda Introduced a global manifest_vars dictionary
All manifest entries can now be accessed from the manifest itself
2013-12-29 20:58:06 +01:00
Anders Ingemann
1c93094833 Integrated package plugin with base system
New phase introduced "package installation" (fixes #114)
Apt source lines are now parsed, this allows to verify the target release of added packages.
All packages (except locales) are now installed *after* bootstrapping (fixes #123)
Added env argument to log_(check_)call
HostDependencies have been refactored a little
2013-12-29 20:58:06 +01:00
James Bromberger
d9dacc5d41 Simplify the description, make the AMI name have the year and the fact it is ebs. 2013-12-20 15:04:22 +00:00
James Bromberger
02ef8cabb8 Support auto-configure of cloud-init data sources, with manual override; support specifying modules to disable. 2013-12-19 11:44:34 +00:00
James Bromberger
682b747efc Permit cloud-init to be configured for its metadata sources using debconf. 2013-12-17 15:51:03 +00:00
Anders Ingemann
d0ec90f491 Support installation of VirtualBox Guest Additions 2013-12-15 17:25:57 +01:00
Anders Ingemann
0a49901476 Implement hvm support for ec2 2013-12-14 23:18:41 +01:00
Anders Ingemann
2320b2cb74 cloud-init plugin implemented.
There is no need for the sed plugin any longer
2013-12-14 23:18:40 +01:00
Anders Ingemann
6138f88ab9 New plugin: "packages"
It combines features from the user_packages and backports plugin,
so they are not needed any longer.
2013-12-14 23:18:40 +01:00
Anders Ingemann
2af0968156 Implement partition mounts.
This solves quite a few challenges with mounting directories into root etc.
2013-12-14 23:18:39 +01:00
Anders Ingemann
2b05fe977d Remove tarball flag from default vbox manifest 2013-11-22 09:03:47 +01:00
Anders Ingemann
71be571f93 Fix #104. Remove "enabled" from plugin manifests 2013-11-22 09:03:47 +01:00
James Bromberger
b1f20ee196 Add in i386 manifest. 2013-11-09 14:17:24 +00:00
James Bromberger
8582edbf7a Update official Debian manifest file. 2013-11-09 09:22:30 +00:00
Anders Ingemann
1edf89df62 First stab at official debian manifest
It will probably need some adjustment
2013-11-06 22:22:24 +01:00
Anders Ingemann
ae1327811b Manifest cleanup, begin with simple manifests only
No plugins. They should be explained in the documentation
2013-11-06 22:21:28 +01:00
Anders Ingemann
d6502089e2 Implemented both MBR and GPT partitioning.
VirtualBox seems to not like GPT
2013-10-27 18:11:14 +01:00
Anders Ingemann
8073edc902 Fix manifest a bit 2013-10-27 18:11:14 +01:00
Anders Ingemann
0eb5eecfc2 Place everything in info.workspace
instead of spreading files all around the disk
2013-10-27 18:11:13 +01:00
Anders Ingemann
9cb4b3e375 Rename mount_dir to workspace
We'll be using it for a bucnh of different things in the future
2013-10-27 18:11:13 +01:00
Anders Ingemann
ff7c04c120 Support for partitions
MAJOR refactor. The volume is now abstracted into a model along with a partitionmap and partitions.
Volumes and partitions are now controlled via an FSM to ensure that commands are called in the proper sequence.
GRUB can now be installed properly onto loop devices by using dmsetup to fake a proper harddisk.
2013-10-27 18:11:12 +01:00