Commit graph

  • 53991bdad7 Rename loopback image to volume Anders Ingemann 2013-09-22 15:39:22 +02:00
  • c744196d2f Fix required packages Anders Ingemann 2013-09-20 16:08:53 +00:00
  • d6502089e2 Implemented both MBR and GPT partitioning. VirtualBox seems to not like GPT Anders Ingemann 2013-09-18 00:46:58 +02:00
  • 8073edc902 Fix manifest a bit Anders Ingemann 2013-09-15 23:01:52 +02:00
  • 4f1533b475 Document some more dependencies Anders Ingemann 2013-09-15 22:57:25 +02:00
  • 6f05774d2c Try fixing grub, added some comments Anders Ingemann 2013-09-15 22:57:15 +02:00
  • a9c465cf8c Minor fixes to paths Anders Ingemann 2013-09-15 18:53:03 +02:00
  • efecc15382 VDI images working now *Helpful error messages included Anders Ingemann 2013-09-15 18:26:22 +02:00
  • 6fb60a33f0 Get the loop device name in a less dramatic way Anders Ingemann 2013-09-15 17:07:57 +02:00
  • c917c3bd65 Log commands executed Anders Ingemann 2013-09-15 17:04:58 +02:00
  • 0eb5eecfc2 Place everything in info.workspace instead of spreading files all around the disk Anders Ingemann 2013-09-15 16:59:56 +02:00
  • 9cb4b3e375 Rename mount_dir to workspace We'll be using it for a bucnh of different things in the future Anders Ingemann 2013-09-15 16:11:45 +02:00
  • 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. Anders Ingemann 2013-09-15 13:19:45 +02:00
  • 77c8b36151 Added pause-on-error switch for debugging Anders Ingemann 2013-09-14 23:29:12 +02:00
  • c1e931df5e Fix bug where log_call would not read all lines Anders Ingemann 2013-09-13 01:32:08 +02:00
  • f3b89f08ff Merge pull request #100 from JamesBromberger/python Anders Ingemann 2013-10-07 23:53:35 -07:00
  • 56e13fbe56 Sed the config file for cloud-init. root 2013-10-07 13:22:08 +00:00
  • 4b293db5d6 Merge pull request #98 from JamesBromberger/python Anders Ingemann 2013-09-23 11:49:29 -07:00
  • e04541587a Do a regular expression replace instead of exact string search and replace. root 2013-09-23 16:14:38 +00:00
  • 71d8d1ddcf Merge pull request #95 from osallou/python Anders Ingemann 2013-09-09 15:11:14 -07:00
  • c924d500fe add new plugin image_commands to execute cmd or scripts in image Olivier Sallou 2013-09-04 14:46:54 +02:00
  • 929a77b5a3 add missing kpartx package for Host Olivier Sallou 2013-09-09 20:45:11 +02:00
  • e6ec040b27 Remove image conversion phase. Maybe image_registration should be renamed? Anders Ingemann 2013-08-17 22:54:24 +02:00
  • b5c5acf5b1 PEP8-ify things. Anders Ingemann 2013-08-17 17:28:46 +02:00
  • e1fc5ea972 Use long options wherever possible. This makes the code a lot easier to understand Anders Ingemann 2013-08-17 15:00:53 +00:00
  • 3630d72f0a Use absolute paths everywhere Anders Ingemann 2013-08-17 15:00:25 +00:00
  • 8fe457b2dc Fix indentation, remove unused import use absolute path to apt-get Anders Ingemann 2013-08-17 16:49:38 +02:00
  • e4e6035eb2 Attach image to loopdevice in one command Anders Ingemann 2013-08-17 16:38:43 +02:00
  • 5864665b1f Make mirror param in manifest optional Anders Ingemann 2013-08-14 23:25:11 +02:00
  • 9de86b9b8a Remove "mount_dir" from base manifest schema. Anders Ingemann 2013-08-14 23:18:59 +02:00
  • 38715df6e9 Remove "device" from base manifest-schema What is it? It's not used anywhere? Anders Ingemann 2013-08-14 23:17:35 +02:00
  • d7f4849877 Rename input argument to stdin Anders Ingemann 2013-08-13 20:40:16 +02:00
  • 8402a3afb2 update-locale call added to locale task Anders Ingemann 2013-08-13 20:38:52 +02:00
  • 6065cd5d2c Merge pull request #93 from JamesBromberger/python Anders Ingemann 2013-08-17 07:01:23 -07:00
  • 8840e08469 Plugin for adding backports to apt and a set of packages from backports. James Bromberger 2013-08-17 13:19:44 +00:00
  • 030cd8c239 Merge pull request #92 from JamesBromberger/python Anders Ingemann 2013-08-17 04:21:57 -07:00
  • d716baadfb Do permissions changes in a nicer way for sed_i. James Bromberger 2013-08-17 08:23:51 +00:00
  • 638319217b Chmod the seded file back to being executable. James Bromberger 2013-08-16 17:37:56 +00:00
  • be9744ce5c Merge pull request #90 from JamesBromberger/python Anders Ingemann 2013-08-15 15:29:17 -07:00
  • 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). James Bromberger 2013-08-15 22:17:37 +00:00
  • ca3c454889 Fix URL; change date format to include 4 digit year in AMI name. James Bromberger 2013-08-15 09:30:54 +00:00
  • 0cedec45f3 Merge pull request #89 from JamesBromberger/python Anders Ingemann 2013-08-13 08:23:23 -07:00
  • b251b1a294 Fix missing comma. James Bromberger 2013-08-13 15:09:21 +00:00
  • 3af49a8e88 Merge pull request #88 from JamesBromberger/python Anders Ingemann 2013-08-13 07:47:22 -07:00
  • ca151834fe Fix import. James Bromberger 2013-08-13 14:33:35 +00:00
  • c064c51ba9 Add URl for mirrot, change to 8 GB EBS root partition. James Bromberger 2013-08-13 14:21:33 +00:00
  • 77b72df3a7 Merge pull request #87 from osallou/kvm Anders Ingemann 2013-08-13 04:41:06 -07:00
  • 49990aec67 add kvm provider with virtio support Olivier Sallou 2013-08-13 12:57:12 +02:00
  • cd01bc380d add README to plugin Olivier Sallou 2013-08-13 11:45:54 +02:00
  • ee1d5dfd2b Merge pull request #86 from osallou/virtualbox Anders Ingemann 2013-08-13 02:21:52 -07:00
  • f6ce50d4f6 fix indentation Olivier Sallou 2013-08-13 10:45:35 +02:00
  • b6d716d414 set full path for binaries Olivier Sallou 2013-08-13 10:44:18 +02:00
  • 398a4da313 make mirror mandatory in manifest Olivier Sallou 2013-08-13 10:43:29 +02:00
  • 3dd3e00e5c add plugin to convert raw images to vdi,qcow etc... Olivier Sallou 2013-08-13 10:36:32 +02:00
  • 5e1a531890 fix schema name Olivier Sallou 2013-08-13 10:05:45 +02:00
  • afa9352d85 set mirror in bootstrapper instead of image Olivier Sallou 2013-08-13 09:52:03 +02:00
  • df9ac2c0fb fix menu entry label Olivier Sallou 2013-08-13 09:39:46 +02:00
  • d6e08d8d25 add sample virtualbox manifest Olivier Sallou 2013-08-13 09:00:11 +02:00
  • 3e11431353 fix grub/boot Olivier Sallou 2013-08-13 08:55:12 +02:00
  • 205adeb288 add rollback for Attach Olivier Sallou 2013-08-12 16:07:17 +02:00
  • ee7ae81746 fix missing grub2 package Olivier Sallou 2013-08-12 16:06:56 +02:00
  • 7262ad997b fix package name Olivier Sallou 2013-08-12 16:06:34 +02:00
  • 429f48cfbc fix package name Olivier Sallou 2013-08-12 16:06:08 +02:00
  • 1b9f39a803 add mirror attribute management Olivier Sallou 2013-08-12 16:05:21 +02:00
  • f83b6e821f grub is not needed on the host system any longer Anders Ingemann 2013-08-11 23:59:01 +02:00
  • 2fd8e643fc Run apt-get upgrade before we remove resolv.conf This way we can still resolve domain names even when running chrooted Anders Ingemann 2013-08-11 23:46:22 +02:00
  • 7a93002b2d Parted tasks and grub installation working now Anders Ingemann 2013-08-11 23:03:44 +02:00
  • cecdeba45f Remove virtio special case Adding it later, once I figure out wth it is. Anders Ingemann 2013-08-11 19:46:18 +02:00
  • f0838cc77d Prebootstrapped plugin now supports parted Anders Ingemann 2013-08-11 19:42:48 +02:00
  • 866b2a9242 Require kpartx Anders Ingemann 2013-08-11 18:33:49 +02:00
  • 014488e6c9 Fix parted task ordering Anders Ingemann 2013-08-11 18:33:35 +02:00
  • fbae8fa17c Fix bogus check, leftover from ec2 Anders Ingemann 2013-08-11 18:27:27 +02:00
  • e5d3b4ac65 Fix loopback tasks ordering Anders Ingemann 2013-08-11 18:26:01 +02:00
  • 7318240f59 Better error message on task order errors Anders Ingemann 2013-08-11 18:25:05 +02:00
  • 04b879a53c Install grub to loop0 not loop0p1 Anders Ingemann 2013-08-11 18:17:06 +02:00
  • 81a5069733 No need for virtualization stanza in virtualbox Anders Ingemann 2013-08-11 18:12:55 +02:00
  • 264f33d0e5 We do not need the credentials stanza for virtualbox Anders Ingemann 2013-08-11 18:11:46 +02:00
  • ffbc34e23f Fix task references Anders Ingemann 2013-08-11 18:11:06 +02:00
  • 631901a827 Fix error when plugins key was not present Anders Ingemann 2013-08-11 18:05:54 +02:00
  • e18cc4ca75 Fix imports Anders Ingemann 2013-08-11 18:00:19 +02:00
  • ac716bfb6e Also create and attach loopback volume Not much fun without that Anders Ingemann 2013-08-11 15:54:04 +02:00
  • 6fd4c0efb3 Remove credentials stanza from ONE manifests Anders Ingemann 2013-08-11 15:53:45 +02:00
  • fc6e2f1a06 Move README back to one plugin Anders Ingemann 2013-08-11 15:53:32 +02:00
  • 4d44500f45 Re-enable aptupgrade task Anders Ingemann 2013-08-10 23:43:52 +02:00
  • b4c963ea95 Revert merge of raw+ONE, rename ONE provider to virtualbox Anders Ingemann 2013-08-10 23:42:25 +02:00
  • 2ae5647fa9 Remove hardcoded /dev/loop0 from ONE grub task Anders Ingemann 2013-08-10 23:02:44 +02:00
  • 6b2abd8634 Fix MapPartitions after[] reference Anders Ingemann 2013-08-10 23:02:16 +02:00
  • 7e32263315 Generalize parted feature Remove filesystem module from ONE tasks Anders Ingemann 2013-08-10 20:03:20 +02:00
  • b9e0714056 Specify filesystem when mounting Anders Ingemann 2013-08-10 19:27:18 +02:00
  • 0785e21ab0 Move parts of packages task module into common tasks Anders Ingemann 2013-08-10 19:01:54 +02:00
  • 677ec22a04 Implemented unattended upgrades plugin Anders Ingemann 2013-08-10 18:44:04 +02:00
  • b9081891dd Implemented build_metadata plugin Anders Ingemann 2013-08-10 18:32:23 +02:00
  • 0be80c0c43 Implemented admin user task Anders Ingemann 2013-08-10 18:24:27 +02:00
  • 5dc00d920c Easier overview of tasks being added Anders Ingemann 2013-08-10 17:52:24 +02:00
  • 110ec638c1 Update manifest provider names Anders Ingemann 2013-08-10 17:48:13 +02:00
  • b89601fb07 Rename raw provider to one, move ONE task to provider Anders Ingemann 2013-08-10 17:43:15 +02:00
  • 355f29c23c Remove duplicate tasks from filesystem task Anders Ingemann 2013-08-10 17:31:19 +02:00
  • 43c9bdb14e Fix indentation in raw/packages task Anders Ingemann 2013-08-10 17:23:56 +02:00
  • 1b329d1082 Move host task to common tasks Anders Ingemann 2013-08-10 17:20:10 +02:00
  • 15e59ab2c8 __init__.py cleanups Anders Ingemann 2013-08-10 17:15:51 +02:00