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
cf3c861a27
Added the dry-run option
2013-10-27 18:37:43 +01:00
Anders Ingemann
6c800145dc
Alias s3 backing to raw
2013-10-27 18:11:59 +01:00
Anders Ingemann
0fdcc2e27b
Fix bug when no boot partition is specified
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
754e414742
Document post-mbr gap and make it MBR-only
2013-10-27 18:11:58 +01:00
Anders Ingemann
f075d1f2b9
Remove ambiguous tasklist function replace()
2013-10-27 18:11:57 +01:00
Anders Ingemann
1bf61770d9
Access fsm states directly
2013-10-27 18:11:56 +01:00
Anders Ingemann
fb0fa1e94e
Unmap partitions
2013-10-27 18:11:55 +01:00
Anders Ingemann
6ddd8809a3
Partitioning fixes
2013-10-27 18:11:55 +01:00
Anders Ingemann
387aa62750
Remove FSM from NoPartitions p-map
...
Don't set the volume device_path by calling 'create'
2013-10-27 18:11:55 +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
3c32310346
Remove mountpoints from partitions
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
738ba47c65
Add references instead of instances to the tasklist
2013-10-27 18:11:53 +01:00
Anders Ingemann
8aefa93646
Remove map and unmap methods on singlepartitionmap
2013-10-27 18:11:53 +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
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
Anders Ingemann
77c8b36151
Added pause-on-error switch for debugging
2013-10-27 18:10:44 +01:00
Anders Ingemann
b5c5acf5b1
PEP8-ify things.
2013-08-17 17:28:46 +02:00
Anders Ingemann
5864665b1f
Make mirror param in manifest optional
2013-08-17 16:04:20 +02:00
Anders Ingemann
9de86b9b8a
Remove "mount_dir" from base manifest schema.
2013-08-17 16:04:20 +02:00
Anders Ingemann
38715df6e9
Remove "device" from base manifest-schema
...
What is it? It's not used anywhere?
2013-08-17 16:04:20 +02:00
Olivier Sallou
398a4da313
make mirror mandatory in manifest
2013-08-13 10:43:29 +02:00
Olivier Sallou
afa9352d85
set mirror in bootstrapper instead of image
2013-08-13 09:52:03 +02:00
Anders Ingemann
7318240f59
Better error message on task order errors
2013-08-11 18:25:05 +02:00
Anders Ingemann
631901a827
Fix error when plugins key was not present
2013-08-11 18:05:54 +02:00
Olivier Sallou
cd6e10c6a1
Merge branch 'python' of https://github.com/andsens/build-debian-cloud into python
2013-07-31 08:03:08 +02:00
Anders Ingemann
59bae6e497
Create unique identifier in BootstrapInformation
...
Can be used to uniquely name temporary resources
2013-07-13 15:12:46 +02:00
Anders Ingemann
b3311a8ff6
Only add default tarball_dir if tarball is true
2013-07-13 15:12:45 +02:00
Olivier Sallou
17876070a5
add mirror attribute
2013-07-10 15:43:39 +02:00
root
ed76870ec9
fix raw image creation
2013-07-10 14:42:03 +02:00
Anders Ingemann
311db52f7b
Ensure minimum volume size of 1M
2013-07-09 21:31:10 +02:00
Anders Ingemann
be387673c0
Add log message to indicate a successful completion of all tasks
2013-07-08 23:14:08 +02:00
Anders Ingemann
1a21b4d90e
remove superfluous normpath()
2013-07-08 23:14:05 +02:00
Anders Ingemann
d3ab01f88f
Implement initialize() fn for providers and plugins ,silence boto debug
2013-07-08 23:14:04 +02:00
Anders Ingemann
6dfdc2ed6d
make tasklist.remove() behave like discard()
2013-07-08 23:14:03 +02:00
Anders Ingemann
b8341c48e4
allow removal of multiple tasks at once
2013-07-08 23:14:03 +02:00
Anders Ingemann
a471c7ef71
Refactor manifest to allow plugin manifest validation
2013-07-08 23:14:03 +02:00
Anders Ingemann
1b512e08fc
Make plugin loading a little prettier
2013-07-08 23:14:02 +02:00
Anders Ingemann
3bf64a6e80
catch keyboard interrupt
2013-07-08 23:14:02 +02:00
Anders Ingemann
7789bc6b16
Relative timestamp in logfile
2013-07-08 23:14:02 +02:00
Anders Ingemann
b92f70e548
bootstrap task implemented
2013-07-08 23:14:01 +02:00
Anders Ingemann
4d86ae5bea
Implement MountVolume task, catch less exceptions
2013-07-08 23:14:01 +02:00
Anders Ingemann
5418ac87ca
Move bootstrapdir requirement to main json schema
2013-07-08 23:14:01 +02:00
Anders Ingemann
29394270c6
Remove tasks not in tasklist from dependency graph
...
Use filter() for filtering instead of list comprehensions
2013-07-08 23:14:01 +02:00
Anders Ingemann
237dde9285
Remove task.run() it is hiding missing run functions
2013-07-08 23:14:01 +02:00