Anders Ingemann
2d6a026160
Fix a slew of indentation & spacing issues
2016-06-04 11:38:16 +02:00
Peter Wagner
dad66e15c0
AWS: support IAM role
...
Fixes #259
2016-04-14 19:42:11 -04:00
Jesse Szwedko
7f9ee9d22c
Write Jessie growpart workaround script to something other than growpart
...
In case growpart is installed. Sed this workaround path into the init.d
script.
Signed-off-by: Andrew Garrett <andrew.garrett@getbraintree.com>
2016-01-12 19:12:57 +00:00
Jesse Szwedko
bbcb62c4f3
Making growpart workaround description more verbose
...
Signed-off-by: Andrew Garrett <andrew.garrett@getbraintree.com>
2016-01-12 19:09:09 +00:00
Jonh Wendell
c477c32e4a
EC2: Added growpart script
...
This is an attempt to fix issue #237
The script "growpart" was added as an asset, because
Debian's Jessie version (inside cloud-utils) package is
outdated and buggy.
Then "expand-root" init script was modified to call growpart
before calling resize2fs. In fact, calling resize2fs without
resizing the partition first is useless.
The task was named 'AddWorkaroundGrowpart' because it must
go away in the future in favor of using recent stuff in cloud-utils.
Currently even the official images suffer this issue, that makes
the system use only 8 GiB, even if the user chooses a bigger
storage size inside AWS.
2016-01-12 18:46:20 +00:00
Anders Ingemann
c880a6849a
Remove image section in manifest
...
All provider specific settings have been moved to the
provider section. The image name itself is now located
at the top level and called "name". It is required for all providers.
2015-12-13 19:41:18 +01:00
James Bromberger
58fdab7be2
PVGUB AKIs for Frankfurt region.
2015-07-30 10:07:24 +02:00
James Bromberger
f1010b11ae
Support multiple ENI.
2015-07-30 10:05:44 +02:00
Anders Ingemann
9a58277619
Factor DHCPCD installation out into separate task
2015-07-30 09:40:37 +02:00
Alex Adriaanse
76c940db37
Fix DKMS kernel version error
...
This error is triggered when the kernel version installed into the image is
different from the kernel version that's currently running.
2015-06-29 23:50:56 +00:00
Jonh Wendell
cd04b3a645
EC2: Only install dhcpcd on releases before jessie
...
Otherwise, keep Debian's default isc-dhcp-client, it works fine
on EC2.
2015-06-17 09:49:58 -03:00
Jonh Wendell
5f9bef37ed
EC2: Use latest ixgbevf driver
2015-06-10 14:41:02 -03:00
Jonh Wendell
62c3577c59
Use SSD volumes instead of magnetic
...
They are faster and the default when using AWS EC2 console.
2015-06-04 13:23:21 -03:00
Anders Ingemann
989f33c226
Kill the initalize() function. Nobody uses it except ec2
...
The boto debug messages are now silenced with a task.
2015-05-03 12:31:44 +02:00
Anders Ingemann
1f6f23e680
Fix #104 : Don't verify default target when adding packages
2015-04-29 23:51:55 +02:00
Anders Ingemann
71c7d445ad
Fix #217 , by introducing class for comparison of releases
2015-04-29 21:38:06 +02:00
Anders Ingemann
d9adb293eb
Simplify enhanced networking check
2015-04-16 22:22:48 +02:00
Anders Ingemann
bfe58dd4a8
Implement PR #201 by @jszwedko
2015-04-16 22:22:48 +02:00
Anders Ingemann
a476248ed6
Partition volumes by sectors instead of bytes
...
This allows for finer grained control over the partition sizes and gaps
2015-04-16 22:21:13 +02:00
Noah Fontes
4093693c2e
Add support for enhanced networking on EC2.
...
This change adds a provider option, enhanced_networking,
which installs the Intel virtual networking driver for
SR-IOV using DKMS. It also modifies the EC2 AMI registration
to include support for SR-IOV.
2014-11-29 13:46:57 -08:00
Tomasz Rybak
d6fe85e124
Do not crash with KeyError when there is no credentials in manifest.
2014-07-12 19:40:53 +02:00
Anders Ingemann
03a0746299
Convert every JSON file to YAML
...
Lines removed: over 500. Readiblity gained: A shitload
Now you can actually get an overview of a manifest on a single screen height.
I am sure that it will also save a lot of hassle when modifying schema in the future.
No more "expected property name" etc. because of an extraneous comma
Comments are of course natively support, so there's no need for this minify_json hokey pokey
2014-07-09 23:17:04 +02:00
Anders Ingemann
ebba39f59b
Convert "provider" into provider specific section
...
This is where all provider specific settings belong
like waagent on azure, guest additions iso path on vbox and virtualization type on ec2
2014-07-09 23:17:04 +02:00
Anders Ingemann
5bb0e5428e
Merge pull request #117 from zeridon/fix-grub-options
...
Improvement in grub options for ec2
2014-07-09 23:13:07 +02:00
Tomasz Rybak
62b3e9c255
Jessie has different kernel for i386, fixing name for EC2.
2014-07-08 20:59:16 +02:00
Tomasz Rybak
ebee46b57f
Fix wrong condition in dhcpcd configuration in Jessie.
2014-07-06 19:13:46 +02:00
Tomasz Rybak
5433963f4e
Jessie contains dhcpcd5 instaed of dhcpcd; fixing configuration.
2014-07-06 19:05:00 +02:00
Anders Ingemann
55c853c348
Fix call to boto get_all_images()
2014-07-05 11:08:21 +02:00
Vladimir Vitkov
94b3e4605a
Improvement in grub options
...
* Be more robust when setting GRUB_CMDLINE_LINUX_DEFAULT
* Stop console from blanking
* Switch elevator to noop as disks are not real disks and this yields
better performance.
2014-07-02 15:04:54 +03:00
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
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
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
d5efec8885
Add ssh_group, which configures SSH properly
2014-05-03 16:13:07 +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
Tomasz Rybak
f8dd196e59
Add missing unstable configuration fixing EC2 image building problems.
2014-04-22 20:09:47 +02: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
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