Commit graph

1641 commits

Author SHA1 Message Date
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
Anders Ingemann
cf3c861a27 Added the dry-run option 2013-10-27 18:37:43 +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
6c800145dc Alias s3 backing to raw 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
1b5a1e0579 Fix missing package check
`dpkg-query -W parted` exits with 0 even if it is not installed
2013-10-27 18:11:58 +01:00
Anders Ingemann
a07e02cfcc Add required packages in the right places 2013-10-27 18:11:58 +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
ceae489210 Use remount() to create a clean snapshot 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
f075d1f2b9 Remove ambiguous tasklist function replace() 2013-10-27 18:11:57 +01:00
Anders Ingemann
aa91bc701f Use add/remove instead of replace in rootpw plugin 2013-10-27 18:11:57 +01:00
Anders Ingemann
38bcb12c72 SetBootMountDir task in prebootstrapped plugin 2013-10-27 18:11:57 +01:00
Anders Ingemann
854ab4f202 Make fstab more generic 2013-10-27 18:11:57 +01:00
Anders Ingemann
a3006fbe47 Fix humongous brainfart 2013-10-27 18:11:56 +01:00
Anders Ingemann
d4601f08af Only install gen-hostkeys when sshd is installed 2013-10-27 18:11:56 +01:00
Anders Ingemann
54791268e1 Fix TuneFS task 2013-10-27 18:11:56 +01:00
Anders Ingemann
3dab414561 Final newline in fstab 2013-10-27 18:11:56 +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
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
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
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
fc0471f780 Remove init from LOVol, add mount_specials 2013-10-27 18:11:54 +01:00
Anders Ingemann
3993ff23a5 Less verbose checking of installed packages 2013-10-27 18:11:54 +01:00
Anders Ingemann
e740a3b4d8 Fix grub install 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
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
8aefa93646 Remove map and unmap methods on singlepartitionmap 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
5dcec10d65 Minimize required image packages 2013-10-27 18:11:52 +01:00