Anders Ingemann
6b6ad527ce
Reorder plugin init scripts
...
Let validate_manifest() always be the first function
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
4acde32c5d
build_metadata plugin only works with ec2
2013-12-14 23:18:41 +01:00
Anders Ingemann
9628a5015b
Remove convert_image plugin
...
vdi is supported natively
2013-12-14 23:18:40 +01:00
Anders Ingemann
2320b2cb74
cloud-init plugin implemented.
...
There is no need for the sed plugin any longer
2013-12-14 23:18:40 +01:00
Anders Ingemann
80d1a7ffc0
Minor cleanup
2013-12-14 23:18:40 +01:00
Anders Ingemann
6138f88ab9
New plugin: "packages"
...
It combines features from the user_packages and backports plugin,
so they are not needed any longer.
2013-12-14 23:18:40 +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
86fa48f201
Fix image_commands and user_packages plugins
2013-12-14 23:18:39 +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
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
James Bromberger
8a215afac2
Bug fix sed plugin, remove debug from tasks.py.
2013-11-09 13:33:38 +00:00
James Bromberger
8e62ffba24
Remove temp file from sed plugin, adjust official debian manifset file.
2013-11-09 09:19:40 +00: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
Sonny Garcia
a1122de27e
period was causing plugin to fail
2013-11-07 10:25:49 -06: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
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