Commit graph

446 commits

Author SHA1 Message Date
James Bromberger
7e3527d2af PIP8 ify the latest updates. 2013-12-21 12:26:37 +00:00
James Bromberger
d9dacc5d41 Simplify the description, make the AMI name have the year and the fact it is ebs. 2013-12-20 15:04:22 +00:00
James Bromberger
e17bc7ec73 Adjust run ordering of cloud-init config. 2013-12-19 14:21:33 +00:00
James Bromberger
02ef8cabb8 Support auto-configure of cloud-init data sources, with manual override; support specifying modules to disable. 2013-12-19 11:44:34 +00:00
James Bromberger
682b747efc Permit cloud-init to be configured for its metadata sources using debconf. 2013-12-17 15:51:03 +00:00
Anders Ingemann
d0ec90f491 Support installation of VirtualBox Guest Additions 2013-12-15 17:25:57 +01:00
Anders Ingemann
65e3f37520 Rename image_commands task module to "tasks" 2013-12-15 11:44:36 +01:00
Anders Ingemann
4cca325fb4 Merge remote-tracking branch 'osallou/update_image_commands_to_base' into python
Conflicts:
	plugins/image_commands/__init__.py
	plugins/image_commands/image_commands.py
2013-12-15 11:43:42 +01:00
Anders Ingemann
c0021e0c46 Merge pull request #121 from osallou/cleanup_dirs
if tmp contains directories, cleanup task fails. Add management for directories too
2013-12-15 02:34:24 -08:00
Anders Ingemann
8b1489c5ee Merge pull request #124 from osallou/fix_typo
fix typo in documentation
2013-12-15 02:30:39 -08:00
Olivier Sallou
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
2013-12-15 08:33:45 +01:00
Olivier Sallou
14b60bd364 if tmp contains directories, cleanup task fails. Add maanagement for directories 2013-12-15 08:31:15 +01:00
Olivier Sallou
5b3bd19220 fix typo 2013-12-15 08:27:04 +01:00
Anders Ingemann
06e7f61d8c Revert "Remove extension property from volumes"
This reverts commit c454114a22.
2013-12-15 00:51:51 +01:00
Anders Ingemann
293557827f Fix PEP8 style fixes 2013-12-14 23:18:43 +01:00
Anders Ingemann
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
2013-12-14 23:18:42 +01:00
Anders Ingemann
c454114a22 Remove extension property from volumes 2013-12-14 23:18:42 +01:00
Anders Ingemann
7660e15c93 Don't disable PC speaker and GetTTY procs on vbox 2013-12-14 23:18:42 +01:00
Anders Ingemann
b03fbb6dad Don't resolve device_path
grub does that automatically
2013-12-14 23:18:42 +01:00
Anders Ingemann
a7bc4446c2 root_device_name simplified
It's not needed for s3 and always sda on ebs
2013-12-14 23:18:42 +01:00
Anders Ingemann
3fef39d4d5 Fix EBS part of the prebootstrapped plugin 2013-12-14 23:18:42 +01:00
Anders Ingemann
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.
2013-12-14 23:18:41 +01:00
Anders Ingemann
6b6ad527ce Reorder plugin init scripts
Let validate_manifest() always be the first function
2013-12-14 23:18:41 +01:00
Anders Ingemann
0a49901476 Implement hvm support for ec2 2013-12-14 23:18:41 +01:00
Anders Ingemann
668b9896c1 Modularize init script installation
Don't install various init scripts when using cloud-init
2013-12-14 23:18:41 +01:00
Anders Ingemann
4acde32c5d build_metadata plugin only works with ec2 2013-12-14 23:18:41 +01:00
Anders Ingemann
9628a5015b Remove convert_image plugin
vdi is supported natively
2013-12-14 23:18:40 +01:00
Anders Ingemann
2320b2cb74 cloud-init plugin implemented.
There is no need for the sed plugin any longer
2013-12-14 23:18:40 +01:00
Anders Ingemann
80d1a7ffc0 Minor cleanup 2013-12-14 23:18:40 +01:00
Anders Ingemann
6138f88ab9 New plugin: "packages"
It combines features from the user_packages and backports plugin,
so they are not needed any longer.
2013-12-14 23:18:40 +01:00
Anders Ingemann
637f49904a Move swap partition before root 2013-12-14 23:18:40 +01:00
Anders Ingemann
2af0968156 Implement partition mounts.
This solves quite a few challenges with mounting directories into root etc.
2013-12-14 23:18:39 +01:00
Anders Ingemann
970cbfccf2 Fix bug when fetching fsm state 2013-12-14 23:18:39 +01:00
Anders Ingemann
86fa48f201 Fix image_commands and user_packages plugins 2013-12-14 23:18:39 +01:00
Anders Ingemann
302efea55c Merge pull request #118 from osallou/python
remove old and unused imports, closes #117
2013-12-13 04:04:35 -08:00
Olivier Sallou
d35b131c8f remove old and unused imports, closes #117 2013-12-13 10:03:17 +01:00
Anders Ingemann
6df7469614 Restrict supported volume backings in prebootstrap 2013-11-22 09:03:48 +01:00
Anders Ingemann
0fac91c2fc Remove qcow2 from supported vbox volume backings
We can handle raw and vdi images right now
2013-11-22 09:03:48 +01:00
Anders Ingemann
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
2013-11-22 09:03:48 +01:00
Anders Ingemann
a1d465ea16 Fix DisableGetTTYs task to disable tty6 as well 2013-11-22 09:03:48 +01:00
Anders Ingemann
a60715e710 Simplify sed_i by using fileinput module
This also fixes the problem with the owner:group being set to root
2013-11-22 09:03:48 +01:00
Anders Ingemann
2b05fe977d Remove tarball flag from default vbox manifest 2013-11-22 09:03:47 +01:00
Anders Ingemann
71be571f93 Fix #104. Remove "enabled" from plugin manifests 2013-11-22 09:03:47 +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
d05c97afef Fix indentation for sed plugin 2013-11-22 09:03:47 +01:00
Anders Ingemann
57a0dd4b9f Merge pull request #109 from drywheat/missing-ami-name
adds ami name when registering s3-based ami
2013-11-21 06:37:23 -08:00
Anders Ingemann
ad79cf8a09 Merge pull request #110 from JamesBromberger/python
Fixes to get Debian official images running.
2013-11-10 00:01:01 -08:00
James Bromberger
b1f20ee196 Add in i386 manifest. 2013-11-09 14:17:24 +00:00
James Bromberger
8a215afac2 Bug fix sed plugin, remove debug from tasks.py. 2013-11-09 13:33:38 +00:00
James Bromberger
8582edbf7a Update official Debian manifest file. 2013-11-09 09:22:30 +00:00