Anders Ingemann
1bf61770d9
Access fsm states directly
2013-10-27 18:11:56 +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
8891a18e4b
Remove mount_specials from FSM
...
It makes modelling the different states more complicated
2013-10-27 18:11:54 +01:00
Anders Ingemann
738ba47c65
Add references instead of instances to the tasklist
2013-10-27 18:11:53 +01:00
Anders Ingemann
a9c465cf8c
Minor fixes to paths
2013-10-27 18:11:14 +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
9cb4b3e375
Rename mount_dir to workspace
...
We'll be using it for a bucnh of different things in the future
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
f3b89f08ff
Merge pull request #100 from JamesBromberger/python
...
sed search&replace plugin
2013-10-07 23:53:35 -07:00
root
56e13fbe56
Sed the config file for cloud-init.
2013-10-07 13:22:08 +00:00
Olivier Sallou
c924d500fe
add new plugin image_commands to execute cmd or scripts in image
2013-09-09 22:55:14 +02:00
Anders Ingemann
e6ec040b27
Remove image conversion phase.
...
Maybe image_registration should be renamed?
2013-08-17 22:54:24 +02:00
Anders Ingemann
b5c5acf5b1
PEP8-ify things.
2013-08-17 17:28:46 +02:00
Anders Ingemann
e1fc5ea972
Use long options wherever possible.
...
This makes the code a lot easier to understand
2013-08-17 15:00:53 +00:00
Anders Ingemann
3630d72f0a
Use absolute paths everywhere
2013-08-17 15:00:25 +00:00
Anders Ingemann
8fe457b2dc
Fix indentation, remove unused import
...
use absolute path to apt-get
2013-08-17 16:50:32 +02:00
James Bromberger
8840e08469
Plugin for adding backports to apt and a set of packages from backports.
2013-08-17 13:19:44 +00:00
James Bromberger
d716baadfb
Do permissions changes in a nicer way for sed_i.
2013-08-17 08:23:51 +00:00
James Bromberger
638319217b
Chmod the seded file back to being executable.
2013-08-16 17:37:56 +00:00
James Bromberger
90fbe9d698
Correct mirror entry, turn on admin user; fix chroot call to create admin user (--shell and /bin/bash as two entries, not one argument).
2013-08-15 22:17:37 +00:00
Olivier Sallou
cd01bc380d
add README to plugin
2013-08-13 11:45:54 +02:00
Olivier Sallou
3dd3e00e5c
add plugin to convert raw images to vdi,qcow etc...
2013-08-13 10:36:32 +02:00
Olivier Sallou
7262ad997b
fix package name
2013-08-12 16:06:34 +02:00
Olivier Sallou
429f48cfbc
fix package name
2013-08-12 16:06:08 +02:00
Anders Ingemann
f0838cc77d
Prebootstrapped plugin now supports parted
2013-08-11 19:42:48 +02:00
Anders Ingemann
fc6e2f1a06
Move README back to one plugin
2013-08-11 15:53:32 +02:00
Anders Ingemann
b4c963ea95
Revert merge of raw+ONE, rename ONE provider to virtualbox
2013-08-10 23:42:25 +02:00
Anders Ingemann
0785e21ab0
Move parts of packages task module into common tasks
2013-08-10 19:01:54 +02:00
Anders Ingemann
677ec22a04
Implemented unattended upgrades plugin
2013-08-10 19:01:33 +02:00
Anders Ingemann
b9081891dd
Implemented build_metadata plugin
2013-08-10 18:32:23 +02:00
Anders Ingemann
0be80c0c43
Implemented admin user task
2013-08-10 18:24:27 +02:00
Anders Ingemann
b89601fb07
Rename raw provider to one, move ONE task to provider
2013-08-10 17:44:11 +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
root
9745861b46
add doc for plugins
2013-08-01 11:38:30 +02:00
Olivier Sallou
385eac14a1
remove tasks ot required by raw provider, fix provider name in plugins after renaming from one to raw
2013-08-01 08:34:20 +02:00
Olivier Sallou
6ffa601488
change provider to raw, set opennebula as plugin
2013-08-01 08:20:32 +02:00
Olivier Sallou
237069b941
add plugins to manage user packages, allow root login via ssh when root password is defined in conf, install opennebula context package
2013-07-31 16:57:29 +02:00
Anders Ingemann
901d0845bf
Bootstrapping of instance store AMIs implemented
2013-07-15 00:01:07 +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
55741b822f
Prebootstrapped plugin now autocreates a snapshot
...
of the bootstrapped plugin, if no snapshot ID is provided.
2013-07-09 20:45:57 +02:00
Anders Ingemann
4e2503ad9c
Put task class properties in identical order
2013-07-09 20:32:50 +02:00
Anders Ingemann
25a017fa35
Validate manifest in plugin, fix rollback error
2013-07-08 23:14:03 +02:00
Anders Ingemann
0c1677eef2
Rollback task for prebootstrapped plugin
2013-07-08 23:14:03 +02:00
Anders Ingemann
8479ff4dca
Implemented prebootstrapped plugin
2013-07-08 23:14:03 +02:00
Anders Ingemann
3cf6a20ba4
Unfinished new plugin to speed up bootstrapping process when developing
2013-07-08 23:14:03 +02:00
Anders Ingemann
237dde9285
Remove task.run() it is hiding missing run functions
2013-07-08 23:14:01 +02:00
Anders Ingemann
88ebeadd25
fix phases and their ordering
2013-07-08 23:13:59 +02:00
Anders Ingemann
a401f9edc0
Order by phases as well
2013-07-08 23:13:59 +02:00
Anders Ingemann
1e4af40b3c
Task dependencies, bogus implementation
2013-07-08 23:13:59 +02:00
Anders Ingemann
a8364fe04d
logging
2013-07-08 23:13:58 +02:00