Commit graph

235 commits

Author SHA1 Message Date
Tiago Ilieve
5a9e76c89d Stop VBoxService after guest additions install 2014-03-25 23:47:04 -03:00
Anders Ingemann
811320f664 Fix syntax errors in pkg-kernels json
Fixes #28
2014-03-07 08:11:29 +01:00
Anders Ingemann
851389da09 Rely on $PATH to resolve commands. Fixes #12 2014-02-27 23:03:23 +01:00
Anders Ingemann
0ef1d3ab69 Split up RequiredCommands task.
The requirements are now located in the appropriate modules
2014-02-27 23:03:23 +01:00
Anders Ingemann
5cff8f9b1d Use `type' to check if command available. Fixes #11 2014-02-27 23:03:23 +01:00
Anders Ingemann
739e22e929 Translate release names into codenames. Fixes #15 2014-02-27 23:03:23 +01:00
Anders Ingemann
6c18bca05a Move virtio module list into "system". Fixes #5 2014-02-27 23:02:58 +01:00
Anders Ingemann
ff968c3869 PEP8 compliance 2014-02-27 23:02:58 +01:00
Anders Ingemann
46dbe9e8c6 Move AKI info into JSON file. Fixes #13
Also introduced config_get() to retrieve a specific value from
these JSON files. Comments are now supported in those files as well
2014-02-27 23:02:58 +01:00
Anders Ingemann
ed4fa5e833 Use --arch in euca-bundle-image. Fixes #23 2014-02-27 23:02:58 +01:00
Anders Ingemann
29d4bdf70d minor cleanup in kvm provider 2014-02-18 00:08:44 +01:00
James Bromberger
1ef9d07118 Permit referring to Jessie as 'jessie', not just as 'testing' (as when Jessie goes stable in a year, we dont want to be then updating this build script). 2014-02-08 16:28:52 +00:00
James Bromberger
c708e5ab42 Add image_location param when registering an S3 backde AMI. 2014-02-08 16:16:02 +00:00
James Brombegrer
b64ad495ab Only delete files form the image if they exist. Add in an HVM manifest file. 2014-02-07 17:42:45 +00:00
James Brombegrer
abe70d6df9 Missing closing brace. 2014-02-07 15:21:07 +00:00
James Brombegrer
047920b120 The s3 endpoint in China is under a different DNS TLD: amazonaws.com.cn. 2014-02-07 14:07:45 +00:00
James Bromberger
648369587a Remove deprecated hd00 pvgrub AKIs (hd0 pvgrubs AKIs check hd0 and hd0,0). Add in cn-north-1 pvgrub AKIs. 2014-02-06 14:01:31 +00:00
Anders Ingemann
030f100eac Rename tasklist to taskset in vbox provider 2014-02-03 17:25:50 +01:00
Anders Ingemann
c67b68fc5a Re-add RemoveHostname task to ec2 taskset
It must have slipped through at a refactor
2014-02-03 17:25:49 +01:00
Anders Ingemann
6926977a30 Merge pull request #134 from osallou/add_kvm_provider
add KVM provider with virtio support
2014-02-03 08:23:50 -08:00
Olivier Sallou
f4ecac900f add KVM provider with virtio support 2014-02-01 16:50:46 +01:00
Tomasz Rybak
f3195b5f6b Add example testing manifest and configuration, fix apt sources configuration. 2014-01-25 16:49:59 +01:00
Anders Ingemann
03db9823f9 HVM AMIs now working with extlinux 2014-01-19 15:57:54 +01:00
Anders Ingemann
a840dc28f3 MBR-gap, grub and GPT offset are now subtracted
automatically from the first available partition.
There is no need to fiddle with sizes while keeping the offsets in mind any longer.
Introduced Bytes() class which makes it a lot easier to handle size units.
2014-01-19 13:21:35 +01:00
Anders Ingemann
3c39ac6734 Minor changes to GPT and grub support 2014-01-19 10:46:59 +01:00
Anders Ingemann
328b971289 GPT support for both extlinux and grub 2014-01-19 01:02:29 +01:00
Anders Ingemann
889812b1ad Rename MBR partition table to MSDOS
Calling it MBR is just confusing
2014-01-18 23:27:52 +01:00
Anders Ingemann
f16939eef5 Extlinux now works on virtualbox
Raise error when trying to install grub on unpartitioned disks
2014-01-18 21:40:09 +01:00
Anders Ingemann
a433f1c299 Use volume.size instead of asking the partitionmap 2014-01-18 16:37:56 +01:00
andrvb
6345c41894 Fix grub 40_custom template 2014-01-13 15:55:33 +03:00
Tomasz Rybak
3bc47f69f7 Fix unstable package repository and network configuration. 2014-01-12 21:24:03 +01:00
Tomasz Rybak
4b9d801734 Allow for building unstable release images. 2014-01-12 21:18:51 +01:00
Anders Ingemann
45521b2377 Merge remote and local package array in manifest
This allows us to specify the order of installation for packages
Fixes #127
2014-01-12 12:46:59 +01:00
Anders Ingemann
ebd8f71fdb Fix bug in packages stanza (fixes #126)
Created 3 new tasks:
  AddManifestSources
	AddRemoteManifestPackages
	AddLocalManifestPackages
They are added independently depending on what is specified in the manifest.
2014-01-09 17:21:29 +01:00
Anders Ingemann
0723290c45 Remove nonsensical 'more' in a task description 2014-01-06 23:01:48 +01:00
Anders Ingemann
0092e1c2c2 Don't instantiate tasks
In practice they are just typed functions with attributes, having a reference to an object is just confusing.
So: Task.run() is now a classmethod
2014-01-06 22:58:21 +01:00
Anders Ingemann
e1881da2bc Simplify tasklist by passing a set to the modules 2014-01-06 22:58:21 +01:00
Anders Ingemann
a4ead02a9b Remove provider specific manifests
Manifest and module loading has been refactored
Provider modules now must implement validate_manifest like plugins do
Simplified loading of manifests
2014-01-05 14:03:04 +01:00
Anders Ingemann
44b23c9cd8 Try and fix hvm registration
It's still not working unfortunately, but it's a step in the right direction
2014-01-05 02:25:29 +01:00
Anders Ingemann
4ef77f1b69 Install enhanced networking drivers on HVM AMIs 2014-01-05 02:25:28 +01:00
Anders Ingemann
44f3296426 Extlinux support
The bootloader is now specified in the manifest
2014-01-05 02:25:28 +01:00
Anders Ingemann
98d4a074b1 Reorganize imports a little 2014-01-05 02:25:28 +01:00
Anders Ingemann
2b5664b0b2 Add `assets' variable to task __init__ files 2014-01-05 02:25:27 +01:00
Anders Ingemann
af2397720d Fix import bug in ec2 provider 2014-01-05 02:25:27 +01:00
Anders Ingemann
b1195c5c3b Fail when guest add. install exits with $? != 1 2014-01-05 02:25:25 +01:00
Anders Ingemann
2e6478f8bb Automatically install correct linux headers for guest additions 2014-01-05 02:25:25 +01:00
Anders Ingemann
0612987fec New task: AddDefaultSources 2014-01-05 02:25:23 +01:00
Anders Ingemann
8d32339fda Introduced a global manifest_vars dictionary
All manifest entries can now be accessed from the manifest itself
2013-12-29 20:58:06 +01:00
Anders Ingemann
1c93094833 Integrated package plugin with base system
New phase introduced "package installation" (fixes #114)
Apt source lines are now parsed, this allows to verify the target release of added packages.
All packages (except locales) are now installed *after* bootstrapping (fixes #123)
Added env argument to log_(check_)call
HostDependencies have been refactored a little
2013-12-29 20:58:06 +01:00
Anders Ingemann
1d69f65a7f Support for vmdk disk format 2013-12-29 16:50:22 +01:00