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
Anders Ingemann
c744196d2f
Fix required packages
2013-10-27 18:11:52 +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
6f05774d2c
Try fixing grub, added some comments
2013-10-27 18:11:14 +01:00
Anders Ingemann
efecc15382
VDI images working now
...
*Helpful error messages included
2013-10-27 18:11:13 +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
Olivier Sallou
929a77b5a3
add missing kpartx package for Host
2013-09-09 22:50:00 +02:00
Anders Ingemann
b5c5acf5b1
PEP8-ify things.
2013-08-17 17:28:46 +02:00
Anders Ingemann
e1fc5ea972
Use long options wherever possible.
...
This makes the code a lot easier to understand
2013-08-17 15:00:53 +00:00
Anders Ingemann
3630d72f0a
Use absolute paths everywhere
2013-08-17 15:00:25 +00:00
James Bromberger
ca151834fe
Fix import.
2013-08-13 14:33:35 +00:00
Olivier Sallou
49990aec67
add kvm provider with virtio support
2013-08-13 12:57:12 +02:00
Olivier Sallou
f6ce50d4f6
fix indentation
2013-08-13 10:45:35 +02:00
Olivier Sallou
b6d716d414
set full path for binaries
2013-08-13 10:44:18 +02:00
Olivier Sallou
5e1a531890
fix schema name
2013-08-13 10:05:45 +02:00
Olivier Sallou
df9ac2c0fb
fix menu entry label
2013-08-13 09:39:46 +02:00
Olivier Sallou
3e11431353
fix grub/boot
2013-08-13 08:55:12 +02:00
Olivier Sallou
205adeb288
add rollback for Attach
2013-08-12 16:07:17 +02:00
Olivier Sallou
ee7ae81746
fix missing grub2 package
2013-08-12 16:06:56 +02:00
Anders Ingemann
f83b6e821f
grub is not needed on the host system any longer
2013-08-11 23:59:01 +02:00