Commit graph

28 commits

Author SHA1 Message Date
Tomasz Rybak
7412ca26d0 Do not require AWS credentials in manifest file
Boto allows for storing credentials in ~/.boto file; user those
if user has not provider one in manifest file.
2014-06-30 20:23:44 +02:00
Vladimir Vitkov
68d9ee1096 Improve ami listing performance
* no need to list all available ami's, just self owned should be enough
2014-06-19 17:55:05 +03:00
Anders Ingemann
02c683120a Refactor tasklist for easier integration by taskoverview 2014-05-10 17:28:31 +02:00
Anders Ingemann
f50a8e66ce Merge branch 'master' into development
Conflicts:
	.gitignore
	bootstrapvz/common/tasks/apt.py
	bootstrapvz/plugins/cloud_init/__init__.py
	bootstrapvz/plugins/cloud_init/tasks.py
	tox.ini
2014-05-08 23:00:54 +02:00
Anders Ingemann
20eabc8aca Fix #21, check the AWS user-id on S3 manifests 2014-05-04 14:02:38 +02:00
Anders Ingemann
a3b84737f1 HVM AMIs only work when EBS backed right now.
S3 backed AMIs only work when they are unpartitioned.
Remove json schema restriction and add some nicer messages in the validation function
2014-05-04 13:46:40 +02:00
Anders Ingemann
612fe46186 Add restriction on partition type for HVM AMIs 2014-05-04 13:41:16 +02:00
Anders Ingemann
3e4882128e Fix wrong bootloader vs. virtualization check 2014-05-04 13:41:16 +02:00
Anders Ingemann
40f208c151 Fix AdjustExpandRootScript
Also, only add it when it is required
2014-05-04 13:41:16 +02:00
Anders Ingemann
f3d633780f Use string concatenation instead of format()
String concatenation can at times be easier to read that format().
One should choose whichever approach is more readable.
2014-05-04 13:41:15 +02:00
Anders Ingemann
e68ed9b66c Fix import errors, again.
(A rebase swallowed a commit somewhere)
2014-05-03 17:04:37 +02:00
Anders Ingemann
7958950d19 Generalize "grub only on partitioned volumes" err
(move it into base manifest validation)
2014-05-03 16:13:49 +02:00
Anders Ingemann
0a2cd86b4b Add get_standard_rollback_tasks()
This simplifies the the providser rollback_tasks fn considerably
2014-05-03 16:13:49 +02:00
Anders Ingemann
6d2a52f7a0 Create security group (part of standard group) 2014-05-03 16:13:46 +02:00
Anders Ingemann
c0292bf526 Remove unused imports 2014-05-03 16:13:09 +02:00
Anders Ingemann
d5efec8885 Add ssh_group, which configures SSH properly 2014-05-03 16:13:07 +02:00
Anders Ingemann
c81045cc6e Simplify adding tasks
There is now a get_standard_groups function
2014-05-03 16:12:35 +02:00
Anders Ingemann
056f1968c1 Fixes #14 and #78
S3 images can now be bootstrapped outside EC2.
However, this fix adds the requirement of a "region" setting.
At some point we could make "region" optional and fail when bootstrap-vz
is run outside EC2 and no "region" is set.
2014-05-03 16:12:34 +02:00
Tiago Ilieve
fe6a5047cd Rename task_sets to task_groups
This closes #17
2014-04-26 17:13:41 -03:00
Tomasz Rybak
f8dd196e59 Add missing unstable configuration fixing EC2 image building problems. 2014-04-22 20:09:47 +02:00
Tiago Ilieve
18fce45d91 Move hostname setting from vagrant into common
This closes #19.
2014-04-13 21:18:02 -03:00
Anders Ingemann
3b23ccf92c Don't use DictClass for provider namespaces
It's a hack only for the manifest vars and shouldn't be used for anything else
2014-04-10 00:20:35 +02:00
Anders Ingemann
9e748601b3 Use bootstrapinfo module namespace when applicable 2014-04-08 23:12:08 +02:00
Anders Ingemann
71b28af3bd Merge branch 'master' into development 2014-04-08 20:03:26 +02:00
Anders Ingemann
b67b8b7260 Set volume dev_path to None when detaching 2014-04-07 21:52:20 +02:00
James Bromberger
334ef9209b Merge remote-tracking branch 'upstream/master'
Conflicts:
	bootstrapvz/common/tasks/apt.py
2014-04-05 09:38:21 +00:00
Anders Ingemann
bbb06d717e Properly fix imports and make bootstrapvz work like a package 2014-04-02 21:32:10 +02:00
Anders Ingemann
be96e4c13f Move code into proper package folder 2014-04-02 21:26:13 +02:00