Commit graph

70 commits

Author SHA1 Message Date
Anders Ingemann
3c39ac6734 Minor changes to GPT and grub support 2014-01-19 10:46:59 +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
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
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
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
af2397720d Fix import bug in ec2 provider 2014-01-05 02:25:27 +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
d3dc44bc48 Rename tasks() to avoid clashes with modules
The functions are now called resolve_tasks() and resolve_rollback_tasks().
A little more verbose function names but also clearer.
2013-12-14 23:18:41 +01:00
Anders Ingemann
0a49901476 Implement hvm support for ec2 2013-12-14 23:18:41 +01:00
Anders Ingemann
668b9896c1 Modularize init script installation
Don't install various init scripts when using cloud-init
2013-12-14 23:18:41 +01:00
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
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
e1ab4dc1ae EC2 provider can now bootstrap EBS volumes again
Use tasksets in EC2 provider
2013-10-27 18:11:58 +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
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
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
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
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
5dd8c27c6a ImageRegistration task implemented 2013-07-08 23:14:08 +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
Anders Ingemann
6671a67d9b Implemented APT cleanup 2013-07-08 23:14:07 +02:00
Anders Ingemann
ba1fd93308 Pulled disabling of daemonautostart into separate task 2013-07-08 23:14:07 +02:00
Anders Ingemann
4180f16656 Implemented cleanup tasks 2013-07-08 23:14:06 +02:00
Anders Ingemann
5949c3c9cc Implemented init script installation 2013-07-08 23:14:06 +02:00
Anders Ingemann
501b336d0e Move ModifyFSTab task to filesystem 2013-07-08 23:14:06 +02:00
Anders Ingemann
14d6f5fb4f Implemented network tasks 2013-07-08 23:14:06 +02:00
Anders Ingemann
9ee096f262 Implement security tasks + minor fixes 2013-07-08 23:14:06 +02:00
Anders Ingemann
953e324ca3 Implemented DisableGetTTYs 2013-07-08 23:14:06 +02:00
Anders Ingemann
8bbf1b3fec Implemented BlackListModules 2013-07-08 23:14:05 +02:00
Anders Ingemann
8fb605e8f2 add ModifyFstab 2013-07-08 23:14:05 +02:00
Anders Ingemann
c187cf6c13 Implemented ConfigureGrub 2013-07-08 23:14:05 +02:00
Anders Ingemann
6628429732 Move AptSources into apt module 2013-07-08 23:14:05 +02:00