Olivier Sallou
99b7834611
fix call of ImageCommands, object should not be called, only class should be
...
remove loopback_file reference, not existing anymore
filesystem not available anymore, and depends on volume layout so remove the
execute commands after the user_packages install, else user won't be able to
call or update installed packages
2013-12-15 08:33:45 +01:00
Olivier Sallou
d35b131c8f
remove old and unused imports, closes #117
2013-12-13 10:03:17 +01:00
Anders Ingemann
6df7469614
Restrict supported volume backings in prebootstrap
2013-11-22 09:03:48 +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
a1d465ea16
Fix DisableGetTTYs task to disable tty6 as well
2013-11-22 09:03:48 +01:00
Anders Ingemann
a60715e710
Simplify sed_i by using fileinput module
...
This also fixes the problem with the owner:group being set to root
2013-11-22 09:03:48 +01:00
Anders Ingemann
2b05fe977d
Remove tarball flag from default vbox manifest
2013-11-22 09:03:47 +01:00
Anders Ingemann
71be571f93
Fix #104 . Remove "enabled" from plugin manifests
2013-11-22 09:03:47 +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
Anders Ingemann
d05c97afef
Fix indentation for sed plugin
2013-11-22 09:03:47 +01:00
Anders Ingemann
57a0dd4b9f
Merge pull request #109 from drywheat/missing-ami-name
...
adds ami name when registering s3-based ami
2013-11-21 06:37:23 -08:00
Anders Ingemann
ad79cf8a09
Merge pull request #110 from JamesBromberger/python
...
Fixes to get Debian official images running.
2013-11-10 00:01:01 -08:00
James Bromberger
b1f20ee196
Add in i386 manifest.
2013-11-09 14:17:24 +00:00
James Bromberger
8a215afac2
Bug fix sed plugin, remove debug from tasks.py.
2013-11-09 13:33:38 +00:00
James Bromberger
8582edbf7a
Update official Debian manifest file.
2013-11-09 09:22:30 +00:00
James Bromberger
8e62ffba24
Remove temp file from sed plugin, adjust official debian manifset file.
2013-11-09 09:19:40 +00:00
Anders Ingemann
0da39a4298
Merge pull request #108 from drywheat/fix-user-packages-plugin
...
migrate MountVolume to MountRoot inside user_packages plugin
2013-11-08 07:08:05 -08: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
Sonny Garcia
c1f47a3dc0
changes MountVolume to MountRoot
...
this type changed names during a major refactoring for partition support
2013-11-07 17:19:26 -06:00
Anders Ingemann
e91bf7fed4
Merge pull request #105 from drywheat/admin-user-typo
...
period was causing this admin_user plugin to fail
2013-11-07 08:44:21 -08:00
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