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
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
90826662ac
Disallow gpt for ebs AMIs
2013-11-06 22:33:18 +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
e1ab4dc1ae
EC2 provider can now bootstrap EBS volumes again
...
Use tasksets in EC2 provider
2013-10-27 18:11:58 +01:00
Anders Ingemann
ecdc255752
Simplify FSM framework. Only model relevant states
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
0eb5eecfc2
Place everything in info.workspace
...
instead of spreading files all around the disk
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
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
Anders Ingemann
0785e21ab0
Move parts of packages task module into common tasks
2013-08-10 19:01:54 +02:00
Anders Ingemann
5dc00d920c
Easier overview of tasks being added
2013-08-10 17:52:24 +02:00
Anders Ingemann
1b329d1082
Move host task to common tasks
2013-08-10 17:20:10 +02:00
Anders Ingemann
15e59ab2c8
__init__.py cleanups
2013-08-10 17:15:51 +02:00
Anders Ingemann
ec6639c8be
Move security task to common tasks
...
Converted root pw task to plugin
2013-08-10 17:12:58 +02:00
Anders Ingemann
5ae3d92a22
Move some of the ec2 initd stuff to common tasks
2013-08-10 16:51:42 +02:00
Anders Ingemann
9de7793a92
Move filesystem and loopback task modules to common
2013-08-10 16:38:45 +02:00
Anders Ingemann
35d962fc03
fixup! Move bootstrap.py to common tasks. Reverted bootstrap task to use geo-redirector as mirror.
2013-08-10 16:31:46 +02:00
Anders Ingemann
6c6f50c03e
Remove network and locale tasks to common
2013-08-10 16:27:43 +02:00
Anders Ingemann
b36e611742
Move cleanup tasks to common tasks module
2013-08-10 16:24:12 +02:00
Anders Ingemann
8767e414ac
Move bootstrap.py to common tasks.
...
Reverted bootstrap task to use geo-redirector as mirror.
2013-08-10 16:22:16 +02:00
Anders Ingemann
0f9fc75182
Generalized "boot" task module.
...
Keeping ConfigureGrub provider specific for now
2013-08-10 16:18:48 +02:00
Anders Ingemann
4913296480
Moved apt to common tasks.
...
Reverted one mirror to use the geo-redirector.
2013-08-10 16:15:49 +02:00
Anders Ingemann
901d0845bf
Bootstrapping of instance store AMIs implemented
2013-07-15 00:01:07 +02:00
Anders Ingemann
d0970f77fe
Use local-gen instead of dpkg-reconfigure locales
...
locale-gen is more direct and does not produce an stderr output
2013-07-14 23:55:23 +02:00
Anders Ingemann
f9372ce97e
Began work on S3 backed instances. Refactored adding tasks.
...
Got stuck on the bundle image call, it uses argparse.
Somehow we need to fake the arguments.
2013-07-13 15:13:03 +02:00
Anders Ingemann
9f85cdf909
Remove 'Volume' part from ebs tasks.
...
It's kind of obvious that we are working with volumes in the ebs module.
2013-07-13 15:12:45 +02:00
Anders Ingemann
554d99fc7f
Move kernel mapping out of run()
2013-07-13 15:12:45 +02:00
Anders Ingemann
e355e99189
Ensure the volume size is a multiple of 1024 when using EBS
2013-07-09 21:30:39 +02:00
Anders Ingemann
4e2503ad9c
Put task class properties in identical order
2013-07-09 20:32:50 +02:00
Anders Ingemann
1acd86a85a
Remove after = [Connect] from CreateVolume.
...
Connect & CreateVolume do not run in the same phase,
so the order is a given.
2013-07-09 20:24:08 +02:00
Anders Ingemann
b444b9ebf3
Remove lsof as a required package
2013-07-08 23:14:08 +02:00
Anders Ingemann
3a95740e6c
Actually get MakeTarball to spit out the same sha twice in a row
2013-07-08 23:14:08 +02:00
Anders Ingemann
d6e6dbb4ee
Fix weird exit status from debootstrap
2013-07-08 23:14:08 +02:00
Anders Ingemann
6f7978a465
Actually make MakeTarball useful
2013-07-08 23:14:08 +02:00
Anders Ingemann
5dd8c27c6a
ImageRegistration task implemented
2013-07-08 23:14:08 +02:00
Anders Ingemann
58e560a893
All cli calls now use absolute paths
2013-07-08 23:14:07 +02:00
Anders Ingemann
7c2f248649
Wrap EBS specific tasks in an if block
2013-07-08 23:14:07 +02:00
Anders Ingemann
20587148f4
implemented CreateSnapshot
2013-07-08 23:14:07 +02:00
Anders Ingemann
5acd0a0dc3
Add unmount tasks to tasklist
...
squash! Add unmount tasks to tasklist
2013-07-08 23:14:07 +02:00