Commit graph

469 commits

Author SHA1 Message Date
Anders Ingemann
328b971289 GPT support for both extlinux and grub 2014-01-19 01:02:29 +01:00
Anders Ingemann
81a4ec78eb Post-MBR size increased to 2.
Also, move the size addition into the volume model
2014-01-18 23:35:21 +01:00
Anders Ingemann
1e97600013 Label GPT partitions 2014-01-18 23:27:52 +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
35d6140cb1 fstab must exist before installing bootloader 2014-01-18 21:38:39 +01:00
Anders Ingemann
a433f1c299 Use volume.size instead of asking the partitionmap 2014-01-18 16:37:56 +01:00
Anders Ingemann
218936d09e Don't accept indexed arguments in FSMProxy methods 2014-01-18 16:37:07 +01:00
Anders Ingemann
8165297a02 Generalize link_dm_node() it works for all devices
Also accept some new parameters to adjust offsets and startsecotrs when creating the disk mapping
2014-01-18 16:36:41 +01:00
Anders Ingemann
150073e354 Log stdin in log_call 2014-01-15 21:15:06 +01:00
Anders Ingemann
0cfda1bdb5 Simpler json network config by auto inserting \n 2014-01-15 21:13:36 +01:00
Anders Ingemann
319c6e655a Simplify package matching 2014-01-14 08:53:46 +01:00
Anders Ingemann
60a6fa0df2 Fix #132 2014-01-14 08:51:54 +01:00
Anders Ingemann
f8fb613457 Merge pull request #131 from andrvb/python
Fix grub 40_custom template
2014-01-13 10:18:17 -08:00
andrvb
6345c41894 Fix grub 40_custom template 2014-01-13 15:55:33 +03:00
Anders Ingemann
43c371c80a Merge pull request #129 from osallou/fix_local_packages
fix local package installation
2014-01-13 02:25:43 -08:00
root
2a3dd42e87 fix local package installation 2014-01-13 11:21:34 +01:00
Anders Ingemann
ce878c745e Merge pull request #128 from rybaktomasz/unstable
Add ability to create unstable images
2014-01-12 13:11:02 -08: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
1d7f0bd105 image_commands now uses manifest_vars 2014-01-12 12:58:29 +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
dcae0e156e Vagrant plugin creates its own user etc. now
There is no need to rely on other plugins any longer
2014-01-12 12:44:32 +01:00
Anders Ingemann
e340a96db3 New plugin: puppet
Install your own puppet configuration and run a manifest
2014-01-11 18:32:43 +01:00
Anders Ingemann
2cc4fbf452 prebootstrapped: don't reinstall GuestAdditions 2014-01-10 00:52:00 +01:00
Anders Ingemann
fcd7fabab8 Fix bug in vagrant plugin 2014-01-09 22:00:59 +01:00
Anders Ingemann
170e0d942d Simplify ONE Context installation 2014-01-09 22:00:09 +01:00
Anders Ingemann
7eaec5ec4d Fix bug where local package installation failed 2014-01-09 21:28:38 +01:00
Anders Ingemann
0a7d97a53a Remove comment from loopbackvolume 2014-01-09 20:43:45 +01:00
Anders Ingemann
f632e5efce Verify lines in packages.sources 2014-01-09 17:24:47 +01:00
Anders Ingemann
065e6fdb5c Collect all missing host pkgs before erroring out 2014-01-09 17:23:25 +01:00
Anders Ingemann
f4a00b7eb1 Remove hardcoded .vdi in QEMUVolume exceptions 2014-01-09 17:23:02 +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
d7f859b76f Remove unnecessary dependencies 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
039a35a344 Fix bug in ManifestError __str__ function
+ some formatting fixes
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
27c0346455 Minor import stmt and dependency fix 2014-01-05 02:25:29 +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
8b5bc77650 Fallback values in a prettier way 2014-01-05 02:25:29 +01:00
Anders Ingemann
83e1339145 New plugin: minimize_size
It binds folders from the host machine to temporary and cache folders in the image.
This way dynamic volumes will not grow in size when running `apt-get update` etc.
2014-01-05 02:25:28 +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
68368b1782 Use cloudfront mirror in ec2 manifests 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
9a525628a2 Print some more helpful messages on apt failure 2014-01-05 02:25:27 +01:00