Commit graph

125 commits

Author SHA1 Message Date
Peter Wagner
dad66e15c0 AWS: support IAM role
Fixes #259
2016-04-14 19:42:11 -04:00
Anders Ingemann
6bb654b79f Compat with new sphinx
Changed a lot of code:: to code-block::
Also added sphinx_rtd_theme to deps in tox
2016-03-04 01:21:52 +01:00
Zach Marano
108fa9547e Move the >=jessie workaround out of the common task. 2016-03-03 10:14:02 -08:00
Zach Marano
3f208b985f Move hack for growpart to its own task. 2016-03-02 16:19:57 -08: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
Jesse Szwedko
4e94880b2a Only add growpart workaround on >= Jessie
Works on previous distributions

Signed-off-by: Andrew Garrett <andrew.garrett@getbraintree.com>
2016-01-12 18:46:26 +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
gkranis
56e98bd102 Remove stale requirement
omission from c880a6849a ?
2016-01-12 09:13:03 +02:00
Tim Sattarov
97378befce ignore loopback interface in udev rules 2015-12-16 23:44:35 -05: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
Anders Ingemann
52c05e5df6 Move docs about image description to gce & ec2 providers 2015-12-13 19:41:18 +01:00
Anders Ingemann
70be6b8198 Add docs for EC2 specific manifest settings 2015-10-14 22:40:14 +02: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
e390d91c05 Ec2: Add the variable "install_init_scripts"
To control whether ec2 init scripts should be installed
on the image. Defaults to true, to keep current behaviour.
2015-06-14 17:32:50 -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
Tiago Ilieve
e409115b25 Docs: fix wrongfully escaped terms 2015-04-28 01:21:07 -03:00
Anders Ingemann
501e6ad97b This is cool. Relative links that link between folders/files in the github repo are converted to relative links in the documentation. 2015-04-19 13:05:58 +02:00
Anders Ingemann
d9adb293eb Simplify enhanced networking check 2015-04-16 22:22:48 +02:00
Anders Ingemann
d81ac0972f Simpler checks for manifest support 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
97ad69df5e extlinux now works with gpt on hvm instances 2015-04-16 22:22:47 +02:00
Anders Ingemann
736852a959 Enable grub for hvm AMIs 2015-04-16 22:22:47 +02:00
Anders Ingemann
8364f824b0 Fix typo 2015-04-16 22:22:47 +02:00
Anders Ingemann
7f84e405f0 Cast to int before comparing in ec2 validate_manifest() 2015-04-16 22:21:42 +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
Anders Ingemann
5823c9119b Split grub and extlinux installs into separate modules 2015-04-16 22:21:12 +02:00
Anders Ingemann
65ddee99d7 Fix some links 2015-04-12 15:01:06 +02:00
Anders Ingemann
953987fddf Combine documentation from github wiki with sphinx
This is the first step in the effort of combining all documentation about
bootstrap-vz into sphinx while still being able to access it from github
(github can parse rst as well)
2015-04-11 16:40:44 +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
02c683120a Refactor tasklist for easier integration by taskoverview 2014-05-10 17:28:31 +02:00