Anders Ingemann
50f45d31d4
Refactor manifest_vars use in package handling
2013-12-29 20:58:06 +01:00
Anders Ingemann
8d32339fda
Introduced a global manifest_vars dictionary
...
All manifest entries can now be accessed from the manifest itself
2013-12-29 20:58:06 +01:00
Anders Ingemann
1c93094833
Integrated package plugin with base system
...
New phase introduced "package installation" (fixes #114 )
Apt source lines are now parsed, this allows to verify the target release of added packages.
All packages (except locales) are now installed *after* bootstrapping (fixes #123 )
Added env argument to log_(check_)call
HostDependencies have been refactored a little
2013-12-29 20:58:06 +01:00
Anders Ingemann
1d69f65a7f
Support for vmdk disk format
2013-12-29 16:50:22 +01:00
Anders Ingemann
51041f6aa2
Generalize VirtualBoxVolume, introduce QEMUVolume
2013-12-29 16:50:22 +01:00
Anders Ingemann
61b5dd2ef0
run_id is now in hex per default
...
... since its primary use is as a string
2013-12-29 16:50:21 +01:00
Anders Ingemann
ba1db3b737
DisableRootLogin now runs after package install
...
Also adjusted the wording of the description
2013-12-29 16:50:21 +01:00
Anders Ingemann
91cff897c8
MoveImage task now uses image.name from manifest
2013-12-29 16:50:21 +01:00
Anders Ingemann
1e0aa634d2
Make admin_user plugin more robust
...
Don't fail if the ec2-get-credentials script is not installed
Don't fail if SSH server is not installed
2013-12-29 16:50:21 +01:00
Anders Ingemann
abe6a5fef3
Don't save the logger to a var we only use once
2013-12-29 16:50:21 +01:00
Anders Ingemann
bc8038729a
Merge pull request #125 from JamesBromberger/python
...
Permit cloud-init to be configured for its metadata sources using debcon...
2013-12-29 06:02:19 -08:00
James Bromberger
39f5e815b8
Process cloud config tasks only if they are configured.
2013-12-25 12:47:17 +00:00
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