Commit graph

53 commits

Author SHA1 Message Date
Anders Ingemann
a1d465ea16 Fix DisableGetTTYs task to disable tty6 as well 2013-11-22 09:03:48 +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
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
a397091e46 Generalize req. host package additions 2013-10-27 18:11:59 +01:00
Anders Ingemann
1b5a1e0579 Fix missing package check
`dpkg-query -W parted` exits with 0 even if it is not installed
2013-10-27 18:11:58 +01:00
Anders Ingemann
a07e02cfcc Add required packages in the right places 2013-10-27 18:11:58 +01:00
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
3dab414561 Final newline in fstab 2013-10-27 18:11:56 +01:00
Anders Ingemann
6ddd8809a3 Partitioning fixes 2013-10-27 18:11:55 +01:00
Anders Ingemann
3993ff23a5 Less verbose checking of installed packages 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
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
d6502089e2 Implemented both MBR and GPT partitioning.
VirtualBox seems to not like GPT
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
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
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
e4e6035eb2 Attach image to loopdevice in one command 2013-08-17 16:38:43 +02:00
Anders Ingemann
5864665b1f Make mirror param in manifest optional 2013-08-17 16:04:20 +02:00
Anders Ingemann
8402a3afb2 update-locale call added to locale task 2013-08-17 16:04:20 +02:00
Olivier Sallou
398a4da313 make mirror mandatory in manifest 2013-08-13 10:43:29 +02:00
Olivier Sallou
afa9352d85 set mirror in bootstrapper instead of image 2013-08-13 09:52:03 +02:00
Olivier Sallou
3e11431353 fix grub/boot 2013-08-13 08:55:12 +02:00
Olivier Sallou
1b9f39a803 add mirror attribute management 2013-08-12 16:05:21 +02:00
Anders Ingemann
2fd8e643fc Run apt-get upgrade before we remove resolv.conf
This way we can still resolve domain names even when running chrooted
2013-08-11 23:46:22 +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
014488e6c9 Fix parted task ordering 2013-08-11 18:33:35 +02:00
Anders Ingemann
e5d3b4ac65 Fix loopback tasks ordering 2013-08-11 18:26:01 +02:00
Anders Ingemann
e18cc4ca75 Fix imports 2013-08-11 18:00:19 +02:00
Anders Ingemann
6b2abd8634 Fix MapPartitions after[] reference 2013-08-10 23:02:16 +02:00
Anders Ingemann
7e32263315 Generalize parted feature
Remove filesystem module from ONE tasks
2013-08-10 20:03:20 +02:00
Anders Ingemann
b9e0714056 Specify filesystem when mounting 2013-08-10 19:27:18 +02:00
Anders Ingemann
0785e21ab0 Move parts of packages task module into common tasks 2013-08-10 19:01:54 +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
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