Anders Ingemann
6f05774d2c
Try fixing grub, added some comments
2013-10-27 18:11:14 +01:00
Anders Ingemann
efecc15382
VDI images working now
...
*Helpful error messages included
2013-10-27 18:11:13 +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
Olivier Sallou
929a77b5a3
add missing kpartx package for Host
2013-09-09 22:50:00 +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
James Bromberger
ca151834fe
Fix import.
2013-08-13 14:33:35 +00:00
Olivier Sallou
49990aec67
add kvm provider with virtio support
2013-08-13 12:57:12 +02:00
Olivier Sallou
f6ce50d4f6
fix indentation
2013-08-13 10:45:35 +02:00
Olivier Sallou
b6d716d414
set full path for binaries
2013-08-13 10:44:18 +02:00
Olivier Sallou
5e1a531890
fix schema name
2013-08-13 10:05:45 +02:00
Olivier Sallou
df9ac2c0fb
fix menu entry label
2013-08-13 09:39:46 +02:00
Olivier Sallou
3e11431353
fix grub/boot
2013-08-13 08:55:12 +02:00
Olivier Sallou
205adeb288
add rollback for Attach
2013-08-12 16:07:17 +02:00
Olivier Sallou
ee7ae81746
fix missing grub2 package
2013-08-12 16:06:56 +02:00
Anders Ingemann
f83b6e821f
grub is not needed on the host system any longer
2013-08-11 23:59:01 +02:00
Anders Ingemann
7a93002b2d
Parted tasks and grub installation working now
2013-08-11 23:03:44 +02:00
Anders Ingemann
cecdeba45f
Remove virtio special case
...
Adding it later, once I figure out wth it is.
2013-08-11 19:47:14 +02:00
Anders Ingemann
866b2a9242
Require kpartx
2013-08-11 18:33:49 +02:00
Anders Ingemann
fbae8fa17c
Fix bogus check, leftover from ec2
2013-08-11 18:27:27 +02:00
Anders Ingemann
04b879a53c
Install grub to loop0 not loop0p1
2013-08-11 18:17:06 +02:00
Anders Ingemann
81a5069733
No need for virtualization stanza in virtualbox
2013-08-11 18:12:55 +02:00
Anders Ingemann
264f33d0e5
We do not need the credentials stanza for virtualbox
2013-08-11 18:11:46 +02:00
Anders Ingemann
ffbc34e23f
Fix task references
2013-08-11 18:11:06 +02:00
Anders Ingemann
e18cc4ca75
Fix imports
2013-08-11 18:00:19 +02:00
Anders Ingemann
ac716bfb6e
Also create and attach loopback volume
...
Not much fun without that
2013-08-11 15:54:04 +02:00
Anders Ingemann
fc6e2f1a06
Move README back to one plugin
2013-08-11 15:53:32 +02:00
Anders Ingemann
4d44500f45
Re-enable aptupgrade task
2013-08-10 23:43:52 +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
2ae5647fa9
Remove hardcoded /dev/loop0 from ONE grub task
2013-08-10 23:02:44 +02:00
Anders Ingemann
7e32263315
Generalize parted feature
...
Remove filesystem module from ONE tasks
2013-08-10 20:03:20 +02: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
b89601fb07
Rename raw provider to one, move ONE task to provider
2013-08-10 17:44:11 +02:00
Anders Ingemann
355f29c23c
Remove duplicate tasks from filesystem task
2013-08-10 17:31:19 +02:00
Anders Ingemann
43c9bdb14e
Fix indentation in raw/packages task
2013-08-10 17:23:56 +02:00
Anders Ingemann
1b329d1082
Move host task to common tasks
2013-08-10 17:20:10 +02:00
Anders Ingemann
15e59ab2c8
__init__.py cleanups
2013-08-10 17:15:51 +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
75a058a6ec
Remove boto log disabling for raw
2013-08-10 16:56:51 +02:00
Anders Ingemann
2096301e00
Cleanup raw/assets, use common.tasks.initd
2013-08-10 16:55:27 +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
35d962fc03
fixup! Move bootstrap.py to common tasks. Reverted bootstrap task to use geo-redirector as mirror.
2013-08-10 16:31:46 +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