Commit graph

1385 commits

Author SHA1 Message Date
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
Anders Ingemann
8fe457b2dc Fix indentation, remove unused import
use absolute path to apt-get
2013-08-17 16:50:32 +02: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
9de86b9b8a Remove "mount_dir" from base manifest schema. 2013-08-17 16:04:20 +02:00
Anders Ingemann
38715df6e9 Remove "device" from base manifest-schema
What is it? It's not used anywhere?
2013-08-17 16:04:20 +02:00
Anders Ingemann
d7f4849877 Rename input argument to stdin 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
Anders Ingemann
6065cd5d2c Merge pull request #93 from JamesBromberger/python
Plugin for adding backports to apt and a set of packages from backports.
2013-08-17 07:01:23 -07: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
Anders Ingemann
030cd8c239 Merge pull request #92 from JamesBromberger/python
sed_i preserves permissions now
2013-08-17 04:21:57 -07: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
Anders Ingemann
be9744ce5c Merge pull request #90 from JamesBromberger/python
manifest and admin user plugin fixes
2013-08-15 15:29:17 -07: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
James Bromberger
ca3c454889 Fix URL; change date format to include 4 digit year in AMI name. 2013-08-15 09:30:54 +00:00
Anders Ingemann
0cedec45f3 Merge pull request #89 from JamesBromberger/python
James done goofed :-)
2013-08-13 08:23:23 -07:00
James Bromberger
b251b1a294 Fix missing comma. 2013-08-13 15:09:21 +00:00
Anders Ingemann
3af49a8e88 Merge pull request #88 from JamesBromberger/python
fix ec2 manifest and import
2013-08-13 07:47:22 -07:00
James Bromberger
ca151834fe Fix import. 2013-08-13 14:33:35 +00:00
James Bromberger
c064c51ba9 Add URl for mirrot, change to 8 GB EBS root partition. 2013-08-13 14:21:33 +00:00
Anders Ingemann
77b72df3a7 Merge pull request #87 from osallou/kvm
Support for kvm provider
2013-08-13 04:41:06 -07:00
Olivier Sallou
49990aec67 add kvm provider with virtio support 2013-08-13 12:57:12 +02:00
Olivier Sallou
cd01bc380d add README to plugin 2013-08-13 11:45:54 +02:00
Anders Ingemann
ee1d5dfd2b Merge pull request #86 from osallou/virtualbox
Fixes for virtualbox provider
2013-08-13 02:21:52 -07: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
398a4da313 make mirror mandatory in manifest 2013-08-13 10:43:29 +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
5e1a531890 fix schema name 2013-08-13 10:05:45 +02:00
Olivier Sallou
afa9352d85 set mirror in bootstrapper instead of image 2013-08-13 09:52:03 +02:00