Commit graph

431 commits

Author SHA1 Message Date
Anders Ingemann
3ee0c314d6 Remove some required properties from schemas.
They are still required, but it's not really possible run the schemas without these properties being there
2013-12-14 23:18:42 +01:00
Anders Ingemann
c454114a22 Remove extension property from volumes 2013-12-14 23:18:42 +01:00
Anders Ingemann
7660e15c93 Don't disable PC speaker and GetTTY procs on vbox 2013-12-14 23:18:42 +01:00
Anders Ingemann
b03fbb6dad Don't resolve device_path
grub does that automatically
2013-12-14 23:18:42 +01:00
Anders Ingemann
a7bc4446c2 root_device_name simplified
It's not needed for s3 and always sda on ebs
2013-12-14 23:18:42 +01:00
Anders Ingemann
3fef39d4d5 Fix EBS part of the prebootstrapped plugin 2013-12-14 23:18:42 +01:00
Anders Ingemann
d3dc44bc48 Rename tasks() to avoid clashes with modules
The functions are now called resolve_tasks() and resolve_rollback_tasks().
A little more verbose function names but also clearer.
2013-12-14 23:18:41 +01:00
Anders Ingemann
6b6ad527ce Reorder plugin init scripts
Let validate_manifest() always be the first function
2013-12-14 23:18:41 +01:00
Anders Ingemann
0a49901476 Implement hvm support for ec2 2013-12-14 23:18:41 +01:00
Anders Ingemann
668b9896c1 Modularize init script installation
Don't install various init scripts when using cloud-init
2013-12-14 23:18:41 +01:00
Anders Ingemann
4acde32c5d build_metadata plugin only works with ec2 2013-12-14 23:18:41 +01:00
Anders Ingemann
9628a5015b Remove convert_image plugin
vdi is supported natively
2013-12-14 23:18:40 +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
80d1a7ffc0 Minor cleanup 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
637f49904a Move swap partition before root 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
970cbfccf2 Fix bug when fetching fsm state 2013-12-14 23:18:39 +01:00
Anders Ingemann
86fa48f201 Fix image_commands and user_packages plugins 2013-12-14 23:18:39 +01:00
Anders Ingemann
302efea55c Merge pull request #118 from osallou/python
remove old and unused imports, closes #117
2013-12-13 04:04:35 -08:00
Olivier Sallou
d35b131c8f remove old and unused imports, closes #117 2013-12-13 10:03:17 +01:00
Anders Ingemann
6df7469614 Restrict supported volume backings in prebootstrap 2013-11-22 09:03:48 +01:00
Anders Ingemann
0fac91c2fc Remove qcow2 from supported vbox volume backings
We can handle raw and vdi images right now
2013-11-22 09:03:48 +01:00
Anders Ingemann
2e29ac0f93 Rename expand-volume script to expand-root
Also move task for adjustment of that script into common.
It still needs some modifications to support device names other than xvda
2013-11-22 09:03:48 +01:00
Anders Ingemann
a1d465ea16 Fix DisableGetTTYs task to disable tty6 as well 2013-11-22 09:03:48 +01:00
Anders Ingemann
a60715e710 Simplify sed_i by using fileinput module
This also fixes the problem with the owner:group being set to root
2013-11-22 09:03:48 +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
Anders Ingemann
663b868b41 Fix #107. Rename before and after task properties
`before' becomes `successors' and `after' becomes `predecessors'
2013-11-22 09:03:47 +01:00
Anders Ingemann
d05c97afef Fix indentation for sed plugin 2013-11-22 09:03:47 +01:00
Anders Ingemann
57a0dd4b9f Merge pull request #109 from drywheat/missing-ami-name
adds ami name when registering s3-based ami
2013-11-21 06:37:23 -08:00
Anders Ingemann
ad79cf8a09 Merge pull request #110 from JamesBromberger/python
Fixes to get Debian official images running.
2013-11-10 00:01:01 -08:00
James Bromberger
b1f20ee196 Add in i386 manifest. 2013-11-09 14:17:24 +00:00
James Bromberger
8a215afac2 Bug fix sed plugin, remove debug from tasks.py. 2013-11-09 13:33:38 +00:00
James Bromberger
8582edbf7a Update official Debian manifest file. 2013-11-09 09:22:30 +00:00
James Bromberger
8e62ffba24 Remove temp file from sed plugin, adjust official debian manifset file. 2013-11-09 09:19:40 +00:00
Anders Ingemann
0da39a4298 Merge pull request #108 from drywheat/fix-user-packages-plugin
migrate MountVolume to MountRoot inside user_packages plugin
2013-11-08 07:08:05 -08:00
Sonny Garcia
e8b4334fdb adds ami name when registering s3-based ami
boto docs indicates that name is only applied to EBS-based images, but that's
not true. this has been tested and populates the "AMI Name".
2013-11-07 17:53:53 -06:00
Sonny Garcia
c1f47a3dc0 changes MountVolume to MountRoot
this type changed names during a major refactoring for partition support
2013-11-07 17:19:26 -06:00
Anders Ingemann
e91bf7fed4 Merge pull request #105 from drywheat/admin-user-typo
period was causing this admin_user plugin to fail
2013-11-07 08:44:21 -08:00
Sonny Garcia
a1122de27e period was causing plugin to fail 2013-11-07 10:25:49 -06:00
Anders Ingemann
f33cc3ab69 Merge branch 'WIP-partitioning' into python 2013-11-06 22:36:37 +01:00
Anders Ingemann
bcd1735ebd Remove unneeded virtualbox assets folder 2013-11-06 22:35:07 +01:00
Anders Ingemann
9b906aeaf8 Disallow gpt for virtualbox 2013-11-06 22:34:49 +01:00
Anders Ingemann
90826662ac Disallow gpt for ebs AMIs 2013-11-06 22:33:18 +01:00
Anders Ingemann
c165bab68e Delete incomplete kvm provider
Not sure if it ever worked, it was basically a copy of the virtualbox plugin
2013-11-06 22:23:58 +01: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
c62dcccd8d credential keys now actually work when set via env
all credential keys are converted to uppercase, dashes replaced with underscores and prefixed with 'AWS_'
2013-11-04 17:31:32 +01:00
Anders Ingemann
71adb3d04e Manifest schema now validates partition definition
S3 partitioning is disallowed for now
2013-10-29 22:41:29 +01:00