Anders Ingemann
98d4a074b1
Reorganize imports a little
2014-01-05 02:25:28 +01:00
Anders Ingemann
2b5664b0b2
Add `assets' variable to task __init__ files
2014-01-05 02:25:27 +01:00
Anders Ingemann
af2397720d
Fix import bug in ec2 provider
2014-01-05 02:25:27 +01:00
Anders Ingemann
b1195c5c3b
Fail when guest add. install exits with $? != 1
2014-01-05 02:25:25 +01:00
Anders Ingemann
2e6478f8bb
Automatically install correct linux headers for guest additions
2014-01-05 02:25:25 +01:00
Anders Ingemann
0612987fec
New task: AddDefaultSources
2014-01-05 02:25:23 +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
Anders Ingemann
1d69f65a7f
Support for vmdk disk format
2013-12-29 16:50:22 +01:00
Anders Ingemann
51041f6aa2
Generalize VirtualBoxVolume, introduce QEMUVolume
2013-12-29 16:50:22 +01:00
Anders Ingemann
61b5dd2ef0
run_id is now in hex per default
...
... since its primary use is as a string
2013-12-29 16:50:21 +01:00
Anders Ingemann
d0ec90f491
Support installation of VirtualBox Guest Additions
2013-12-15 17:25:57 +01:00
Anders Ingemann
06e7f61d8c
Revert "Remove extension property from volumes"
...
This reverts commit c454114a22
.
2013-12-15 00:51:51 +01:00
Anders Ingemann
293557827f
Fix PEP8 style fixes
2013-12-14 23:18:43 +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
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
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
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
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
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
663b868b41
Fix #107 . Rename before and after task properties
...
`before' becomes `successors' and `after' becomes `predecessors'
2013-11-22 09:03:47 +01: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
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
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
Anders Ingemann
1db38ec7dd
New task for adjusting the expand-volume script
...
By default it only expands /dev/xvda
2013-10-27 18:11:59 +01:00
Anders Ingemann
6eb56721dc
AWS provider fully working again (S3 & EBS)
...
EBS booted AMIs now also support partitions
2013-10-27 18:11:59 +01:00
Anders Ingemann
a397091e46
Generalize req. host package additions
2013-10-27 18:11:59 +01:00
Anders Ingemann
c95b9077e5
Add helpful message to volsize%1024 error
2013-10-27 18:11:59 +01:00
Anders Ingemann
a07e02cfcc
Add required packages in the right places
2013-10-27 18:11:58 +01:00
Anders Ingemann
e1ab4dc1ae
EC2 provider can now bootstrap EBS volumes again
...
Use tasksets in EC2 provider
2013-10-27 18:11:58 +01:00
Anders Ingemann
b025f6ed35
Refactor remount() into common function
2013-10-27 18:11:57 +01:00
Anders Ingemann
54791268e1
Fix TuneFS task
2013-10-27 18:11:56 +01:00
Anders Ingemann
6ddd8809a3
Partitioning fixes
2013-10-27 18:11:55 +01:00
Anders Ingemann
c78866f103
Take partitionmap into consideration in device.map
...
Simplify boot task a little
2013-10-27 18:11:55 +01:00
Anders Ingemann
977b1f290f
Remove duplicate task addition
2013-10-27 18:11:55 +01:00
Anders Ingemann
ba1842ca2b
Move nbd modprobe check into separate function
...
Only require max_part param for partition manifests
2013-10-27 18:11:54 +01:00
Anders Ingemann
8891a18e4b
Remove mount_specials from FSM
...
It makes modelling the different states more complicated
2013-10-27 18:11:54 +01:00
Anders Ingemann
e740a3b4d8
Fix grub install
2013-10-27 18:11:54 +01:00
Anders Ingemann
ecdc255752
Simplify FSM framework. Only model relevant states
2013-10-27 18:11:53 +01:00
Anders Ingemann
c756eb3f74
Introduce task-sets to combat the unwieldy amount of tasks
2013-10-27 18:11:53 +01:00
Anders Ingemann
738ba47c65
Add references instead of instances to the tasklist
2013-10-27 18:11:53 +01:00
Anders Ingemann
4b2711893f
Dont require package sysv-rc to be installed
2013-10-27 18:11:53 +01:00
Anders Ingemann
885ace7b48
Updates to networking in vbox
2013-10-27 18:11:53 +01:00