Anders Ingemann
854ab4f202
Make fstab more generic
2013-10-27 18:11:57 +01:00
Anders Ingemann
a3006fbe47
Fix humongous brainfart
2013-10-27 18:11:56 +01:00
Anders Ingemann
d4601f08af
Only install gen-hostkeys when sshd is installed
2013-10-27 18:11:56 +01:00
Anders Ingemann
54791268e1
Fix TuneFS task
2013-10-27 18:11:56 +01:00
Anders Ingemann
3dab414561
Final newline in fstab
2013-10-27 18:11:56 +01:00
Anders Ingemann
1bf61770d9
Access fsm states directly
2013-10-27 18:11:56 +01:00
Anders Ingemann
fb0fa1e94e
Unmap partitions
2013-10-27 18:11:55 +01:00
Anders Ingemann
6ddd8809a3
Partitioning fixes
2013-10-27 18:11:55 +01:00
Anders Ingemann
c78866f103
Take partitionmap into consideration in device.map
...
Simplify boot task a little
2013-10-27 18:11:55 +01:00
Anders Ingemann
977b1f290f
Remove duplicate task addition
2013-10-27 18:11:55 +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
ba1842ca2b
Move nbd modprobe check into separate function
...
Only require max_part param for partition manifests
2013-10-27 18:11:54 +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
fc0471f780
Remove init from LOVol, add mount_specials
2013-10-27 18:11:54 +01:00
Anders Ingemann
3993ff23a5
Less verbose checking of installed packages
2013-10-27 18:11:54 +01:00
Anders Ingemann
e740a3b4d8
Fix grub install
2013-10-27 18:11:54 +01:00
Anders Ingemann
3c32310346
Remove mountpoints from partitions
2013-10-27 18:11:54 +01:00
Anders Ingemann
ecdc255752
Simplify FSM framework. Only model relevant states
2013-10-27 18:11:53 +01:00
Anders Ingemann
c756eb3f74
Introduce task-sets to combat the unwieldy amount of tasks
2013-10-27 18:11:53 +01:00
Anders Ingemann
738ba47c65
Add references instead of instances to the tasklist
2013-10-27 18:11:53 +01:00
Anders Ingemann
8aefa93646
Remove map and unmap methods on singlepartitionmap
2013-10-27 18:11:53 +01:00
Anders Ingemann
4b2711893f
Dont require package sysv-rc to be installed
2013-10-27 18:11:53 +01:00
Anders Ingemann
885ace7b48
Updates to networking in vbox
2013-10-27 18:11:53 +01:00
Anders Ingemann
5dcec10d65
Minimize required image packages
2013-10-27 18:11:52 +01:00
Anders Ingemann
53991bdad7
Rename loopback image to volume
2013-10-27 18:11:52 +01:00
Anders Ingemann
c744196d2f
Fix required packages
2013-10-27 18:11:52 +01:00
Anders Ingemann
d6502089e2
Implemented both MBR and GPT partitioning.
...
VirtualBox seems to not like GPT
2013-10-27 18:11:14 +01:00
Anders Ingemann
8073edc902
Fix manifest a bit
2013-10-27 18:11:14 +01:00
Anders Ingemann
4f1533b475
Document some more dependencies
2013-10-27 18:11:14 +01:00
Anders Ingemann
6f05774d2c
Try fixing grub, added some comments
2013-10-27 18:11:14 +01:00
Anders Ingemann
a9c465cf8c
Minor fixes to paths
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
6fb60a33f0
Get the loop device name in a less dramatic way
2013-10-27 18:11:13 +01:00
Anders Ingemann
c917c3bd65
Log commands executed
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
Anders Ingemann
77c8b36151
Added pause-on-error switch for debugging
2013-10-27 18:10:44 +01:00
Anders Ingemann
c1e931df5e
Fix bug where log_call would not read all lines
2013-10-27 18:10:44 +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
Anders Ingemann
4b293db5d6
Merge pull request #98 from JamesBromberger/python
...
Do a regular expression replace instead of exact string search and replace
2013-09-23 11:49:29 -07:00
root
e04541587a
Do a regular expression replace instead of exact string search and replace.
2013-09-23 16:14:38 +00:00
Anders Ingemann
71d8d1ddcf
Merge pull request #95 from osallou/python
...
Plugin: image_commands
2013-09-09 15:11:14 -07:00
Olivier Sallou
c924d500fe
add new plugin image_commands to execute cmd or scripts in image
2013-09-09 22:55:14 +02:00
Olivier Sallou
929a77b5a3
add missing kpartx package for Host
2013-09-09 22:50:00 +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