Anders Ingemann
9a525628a2
Print some more helpful messages on apt failure
2014-01-05 02:25:27 +01:00
Anders Ingemann
7afd04f1c9
Distinguish between bootstrap and apt mirror
...
They can both be set independently now.
If the bootstrap mirror is not set, it falls back to the apt mirror,
which in turn falls back to the geo redirector.
2014-01-05 02:25:27 +01:00
Anders Ingemann
d9a7f3d1e4
Make plugins key a required manifest property
2014-01-05 02:25:26 +01:00
Anders Ingemann
31f3a71464
New plugin: vagrant
...
Example manifest file also added
2014-01-05 02:25:26 +01:00
Anders Ingemann
15661ae680
Create snapshot of volume *after* package install
2014-01-05 02:25:26 +01:00
Anders Ingemann
569f6fd505
`quoted'' ->
quoted'
2014-01-05 02:25:26 +01:00
Anders Ingemann
a50db30185
Don't install recommended packages
2014-01-05 02:25:26 +01:00
Anders Ingemann
b1195c5c3b
Fail when guest add. install exits with $? != 1
2014-01-05 02:25:25 +01:00
Anders Ingemann
e388078de7
Make InstallRemotePkgs task a little more helpful
2014-01-05 02:25:25 +01:00
Anders Ingemann
2e6478f8bb
Automatically install correct linux headers for guest additions
2014-01-05 02:25:25 +01:00
Anders Ingemann
0612987fec
New task: AddDefaultSources
2014-01-05 02:25:23 +01:00
Anders Ingemann
4ffb533625
Use new package handling in the cloud-init plugin
...
This saves quite a few "package" lines in the manifest
2014-01-05 02:24:29 +01:00
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