Commit graph

  • d0ec90f491 Support installation of VirtualBox Guest Additions Anders Ingemann 2013-12-15 17:25:57 +01:00
  • 65e3f37520 Rename image_commands task module to "tasks" Anders Ingemann 2013-12-15 11:44:36 +01:00
  • 4cca325fb4 Merge remote-tracking branch 'osallou/update_image_commands_to_base' into python Anders Ingemann 2013-12-15 11:43:42 +01:00
  • c0021e0c46 Merge pull request #121 from osallou/cleanup_dirs Anders Ingemann 2013-12-15 02:34:24 -08:00
  • 8b1489c5ee Merge pull request #124 from osallou/fix_typo Anders Ingemann 2013-12-15 02:30:39 -08:00
  • 99b7834611 fix call of ImageCommands, object should not be called, only class should be remove loopback_file reference, not existing anymore filesystem not available anymore, and depends on volume layout so remove the execute commands after the user_packages install, else user won't be able to call or update installed packages Olivier Sallou 2013-12-15 08:33:45 +01:00
  • 14b60bd364 if tmp contains directories, cleanup task fails. Add maanagement for directories Olivier Sallou 2013-12-15 08:31:15 +01:00
  • 5b3bd19220 fix typo Olivier Sallou 2013-12-15 08:27:04 +01:00
  • 06e7f61d8c Revert "Remove extension property from volumes" Anders Ingemann 2013-12-15 00:51:51 +01:00
  • 293557827f Fix PEP8 style fixes Anders Ingemann 2013-12-14 19:37:23 +01:00
  • 3ee0c314d6 Remove some required properties from schemas. They are still required, but it's not really possible run the schemas without these properties being there Anders Ingemann 2013-12-10 22:30:32 +01:00
  • c454114a22 Remove extension property from volumes Anders Ingemann 2013-12-10 22:27:30 +01:00
  • 7660e15c93 Don't disable PC speaker and GetTTY procs on vbox Anders Ingemann 2013-12-08 21:16:42 +01:00
  • b03fbb6dad Don't resolve device_path grub does that automatically Anders Ingemann 2013-12-08 21:16:15 +01:00
  • a7bc4446c2 root_device_name simplified It's not needed for s3 and always sda on ebs Anders Ingemann 2013-12-08 17:04:28 +01:00
  • 3fef39d4d5 Fix EBS part of the prebootstrapped plugin Anders Ingemann 2013-12-06 00:31:49 +01:00
  • d3dc44bc48 Rename tasks() to avoid clashes with modules The functions are now called resolve_tasks() and resolve_rollback_tasks(). A little more verbose function names but also clearer. Anders Ingemann 2013-12-02 00:00:59 +01:00
  • 6b6ad527ce Reorder plugin init scripts Let validate_manifest() always be the first function Anders Ingemann 2013-12-01 23:56:17 +01:00
  • 0a49901476 Implement hvm support for ec2 Anders Ingemann 2013-12-01 23:50:32 +01:00
  • 668b9896c1 Modularize init script installation Don't install various init scripts when using cloud-init Anders Ingemann 2013-12-01 14:34:38 +01:00
  • 4acde32c5d build_metadata plugin only works with ec2 Anders Ingemann 2013-12-01 12:41:37 +01:00
  • 9628a5015b Remove convert_image plugin vdi is supported natively Anders Ingemann 2013-12-01 12:39:15 +01:00
  • 2320b2cb74 cloud-init plugin implemented. There is no need for the sed plugin any longer Anders Ingemann 2013-12-01 12:26:09 +01:00
  • 80d1a7ffc0 Minor cleanup Anders Ingemann 2013-12-01 12:24:42 +01:00
  • 6138f88ab9 New plugin: "packages" It combines features from the user_packages and backports plugin, so they are not needed any longer. Anders Ingemann 2013-11-30 22:37:51 +01:00
  • 637f49904a Move swap partition before root Anders Ingemann 2013-11-30 14:33:22 +01:00
  • 2af0968156 Implement partition mounts. This solves quite a few challenges with mounting directories into root etc. Anders Ingemann 2013-11-27 18:06:45 +01:00
  • 970cbfccf2 Fix bug when fetching fsm state Anders Ingemann 2013-11-26 21:07:39 +01:00
  • 86fa48f201 Fix image_commands and user_packages plugins Anders Ingemann 2013-11-24 16:15:01 +01:00
  • 302efea55c Merge pull request #118 from osallou/python Anders Ingemann 2013-12-13 04:04:35 -08:00
  • d35b131c8f remove old and unused imports, closes #117 Olivier Sallou 2013-12-13 10:03:17 +01:00
  • 6df7469614 Restrict supported volume backings in prebootstrap Anders Ingemann 2013-11-21 17:27:25 +01:00
  • 0fac91c2fc Remove qcow2 from supported vbox volume backings We can handle raw and vdi images right now Anders Ingemann 2013-11-21 17:23:13 +01:00
  • 2e29ac0f93 Rename expand-volume script to expand-root Also move task for adjustment of that script into common. It still needs some modifications to support device names other than xvda Anders Ingemann 2013-11-21 16:58:21 +01:00
  • a1d465ea16 Fix DisableGetTTYs task to disable tty6 as well Anders Ingemann 2013-11-21 16:46:27 +01:00
  • a60715e710 Simplify sed_i by using fileinput module This also fixes the problem with the owner:group being set to root Anders Ingemann 2013-11-21 16:45:29 +01:00
  • 2b05fe977d Remove tarball flag from default vbox manifest Anders Ingemann 2013-11-21 16:27:42 +01:00
  • 71be571f93 Fix #104. Remove "enabled" from plugin manifests Anders Ingemann 2013-11-21 16:00:59 +01:00
  • 663b868b41 Fix #107. Rename before and after task properties before' becomes successors' and after' becomes predecessors' Anders Ingemann 2013-11-21 15:54:42 +01:00
  • d05c97afef Fix indentation for sed plugin Anders Ingemann 2013-11-21 15:52:26 +01:00
  • 57a0dd4b9f Merge pull request #109 from drywheat/missing-ami-name Anders Ingemann 2013-11-21 06:37:23 -08:00
  • ad79cf8a09 Merge pull request #110 from JamesBromberger/python Anders Ingemann 2013-11-10 00:01:01 -08:00
  • b1f20ee196 Add in i386 manifest. James Bromberger 2013-11-09 14:17:24 +00:00
  • 8a215afac2 Bug fix sed plugin, remove debug from tasks.py. James Bromberger 2013-11-09 13:33:38 +00:00
  • 8582edbf7a Update official Debian manifest file. James Bromberger 2013-11-09 09:22:30 +00:00
  • 8e62ffba24 Remove temp file from sed plugin, adjust official debian manifset file. James Bromberger 2013-11-09 09:19:40 +00:00
  • 0da39a4298 Merge pull request #108 from drywheat/fix-user-packages-plugin Anders Ingemann 2013-11-08 07:08:05 -08:00
  • e8b4334fdb adds ami name when registering s3-based ami Sonny Garcia 2013-11-07 17:53:53 -06:00
  • c1f47a3dc0 changes MountVolume to MountRoot Sonny Garcia 2013-11-07 17:19:26 -06:00
  • e91bf7fed4 Merge pull request #105 from drywheat/admin-user-typo Anders Ingemann 2013-11-07 08:44:21 -08:00
  • a1122de27e period was causing plugin to fail Sonny Garcia 2013-11-07 10:25:49 -06:00
  • f33cc3ab69 Merge branch 'WIP-partitioning' into python Anders Ingemann 2013-11-06 22:36:37 +01:00
  • bcd1735ebd Remove unneeded virtualbox assets folder Anders Ingemann 2013-11-06 22:35:07 +01:00
  • 9b906aeaf8 Disallow gpt for virtualbox Anders Ingemann 2013-11-06 22:34:49 +01:00
  • 90826662ac Disallow gpt for ebs AMIs Anders Ingemann 2013-11-06 22:33:18 +01:00
  • c165bab68e Delete incomplete kvm provider Not sure if it ever worked, it was basically a copy of the virtualbox plugin Anders Ingemann 2013-11-06 22:23:58 +01:00
  • 1edf89df62 First stab at official debian manifest It will probably need some adjustment Anders Ingemann 2013-11-06 22:22:24 +01:00
  • ae1327811b Manifest cleanup, begin with simple manifests only No plugins. They should be explained in the documentation Anders Ingemann 2013-11-06 22:17:55 +01:00
  • c62dcccd8d credential keys now actually work when set via env all credential keys are converted to uppercase, dashes replaced with underscores and prefixed with 'AWS_' Anders Ingemann 2013-11-04 17:31:32 +01:00
  • 71adb3d04e Manifest schema now validates partition definition S3 partitioning is disallowed for now Anders Ingemann 2013-10-29 22:41:29 +01:00
  • cf3c861a27 Added the dry-run option Anders Ingemann 2013-10-27 18:37:43 +01:00
  • 1db38ec7dd New task for adjusting the expand-volume script By default it only expands /dev/xvda Anders Ingemann 2013-10-27 17:49:39 +01:00
  • 6eb56721dc AWS provider fully working again (S3 & EBS) EBS booted AMIs now also support partitions Anders Ingemann 2013-10-27 17:47:39 +01:00
  • a397091e46 Generalize req. host package additions Anders Ingemann 2013-10-27 13:01:01 +01:00
  • 6c800145dc Alias s3 backing to raw Anders Ingemann 2013-10-27 12:55:03 +01:00
  • c95b9077e5 Add helpful message to volsize%1024 error Anders Ingemann 2013-10-27 10:02:11 +01:00
  • 1b5a1e0579 Fix missing package check dpkg-query -W parted exits with 0 even if it is not installed Anders Ingemann 2013-10-27 09:24:07 +01:00
  • a07e02cfcc Add required packages in the right places Anders Ingemann 2013-10-27 09:10:37 +01:00
  • 0fdcc2e27b Fix bug when no boot partition is specified Anders Ingemann 2013-10-27 08:52:26 +01:00
  • e1ab4dc1ae EC2 provider can now bootstrap EBS volumes again Use tasksets in EC2 provider Anders Ingemann 2013-10-09 00:09:34 +02:00
  • 754e414742 Document post-mbr gap and make it MBR-only Anders Ingemann 2013-10-08 23:12:03 +02:00
  • ceae489210 Use remount() to create a clean snapshot Anders Ingemann 2013-10-06 14:44:23 +02:00
  • b025f6ed35 Refactor remount() into common function Anders Ingemann 2013-10-06 14:34:03 +02:00
  • f075d1f2b9 Remove ambiguous tasklist function replace() Anders Ingemann 2013-10-06 14:08:53 +02:00
  • aa91bc701f Use add/remove instead of replace in rootpw plugin Anders Ingemann 2013-10-06 14:06:32 +02:00
  • 38bcb12c72 SetBootMountDir task in prebootstrapped plugin Anders Ingemann 2013-10-06 14:06:01 +02:00
  • 854ab4f202 Make fstab more generic Anders Ingemann 2013-10-06 13:40:27 +02:00
  • a3006fbe47 Fix humongous brainfart Anders Ingemann 2013-10-06 13:25:00 +02:00
  • d4601f08af Only install gen-hostkeys when sshd is installed Anders Ingemann 2013-10-06 13:20:39 +02:00
  • 54791268e1 Fix TuneFS task Anders Ingemann 2013-10-06 01:42:32 +02:00
  • 3dab414561 Final newline in fstab Anders Ingemann 2013-10-06 00:46:54 +02:00
  • 1bf61770d9 Access fsm states directly Anders Ingemann 2013-10-05 22:01:05 +02:00
  • fb0fa1e94e Unmap partitions Anders Ingemann 2013-10-05 21:55:15 +02:00
  • 6ddd8809a3 Partitioning fixes Anders Ingemann 2013-10-05 20:41:05 +02:00
  • c78866f103 Take partitionmap into consideration in device.map Simplify boot task a little Anders Ingemann 2013-10-04 21:45:19 +02:00
  • 977b1f290f Remove duplicate task addition Anders Ingemann 2013-10-04 21:13:41 +02:00
  • 387aa62750 Remove FSM from NoPartitions p-map Don't set the volume device_path by calling 'create' Anders Ingemann 2013-10-04 21:12:48 +02:00
  • ba1842ca2b Move nbd modprobe check into separate function Only require max_part param for partition manifests Anders Ingemann 2013-10-04 20:31:51 +02:00
  • 8891a18e4b Remove mount_specials from FSM It makes modelling the different states more complicated Anders Ingemann 2013-09-26 22:43:36 +02:00
  • fc0471f780 Remove init from LOVol, add mount_specials Anders Ingemann 2013-09-25 23:58:05 +02:00
  • 3993ff23a5 Less verbose checking of installed packages Anders Ingemann 2013-09-25 23:46:04 +02:00
  • e740a3b4d8 Fix grub install Anders Ingemann 2013-09-25 23:43:02 +02:00
  • 3c32310346 Remove mountpoints from partitions Anders Ingemann 2013-09-25 23:27:31 +02:00
  • ecdc255752 Simplify FSM framework. Only model relevant states Anders Ingemann 2013-09-22 21:20:09 +02:00
  • c756eb3f74 Introduce task-sets to combat the unwieldy amount of tasks Anders Ingemann 2013-09-22 20:46:25 +02:00
  • 738ba47c65 Add references instead of instances to the tasklist Anders Ingemann 2013-09-22 17:31:43 +02:00
  • 8aefa93646 Remove map and unmap methods on singlepartitionmap Anders Ingemann 2013-09-22 17:02:34 +02:00
  • 4b2711893f Dont require package sysv-rc to be installed Anders Ingemann 2013-09-22 15:43:50 +02:00
  • 885ace7b48 Updates to networking in vbox Anders Ingemann 2013-09-22 15:41:43 +02:00
  • 5dcec10d65 Minimize required image packages Anders Ingemann 2013-09-22 15:40:51 +02:00