Commit graph

144 commits

Author SHA1 Message Date
Kevin Olbrich
69865d9eb6 add latest debian releases 2023-06-21 10:04:07 +02:00
Kevin Olbrich
cc00d28e00 add debian bullseye support 2020-01-20 09:49:39 +01:00
Kevin Olbrich
9695948e3d fix kernel options 2019-11-13 00:23:26 +01:00
Kevin Olbrich
9c01c1b13f optimize GRUB parameter list and disable L1TF, Meltdown, Spectre etc. patches
https://make-linux-fast-again.com/
2019-11-04 03:13:25 +01:00
Andrew Bogott
a5e8aae7b0 Fix a couple of (presumed) issues with regex escaping.
In each of these cases we have an un-escaped \n or \t that
gets passed to a regex.  That means that the regexes actually
contain tabs or newlines, respectively.  After this change
an actual '\t' and '\n' are passed in instead.

I have not tested this!  I am writing this patch based on
the assumption that /surely/ the original authors meant
to pass in \t and \n to the regex and not actual tab
or newline characters.
2019-03-05 21:09:13 +00:00
Andrew Bogott
43b321ce91 Replace a bunch of \\ escapes with raw strings
There are a few cases where changing to a raw string
will change the behavior; I'll address that in a later patch.
2019-03-05 20:05:59 +00:00
Andrew Bogott
b9dda552db flake8: resolve W605 'invalid escape sequence' warnings
This patch scares me since every fix involves adding a character
to a regex.  I am /pretty sure/ that this is a no-op but I don't
have the capacity to test this beyond what tox can do.
2019-03-05 19:01:05 +00:00
Andrew Bogott
bfe2d1f3ba flake8 fixes: correct some indentations 2019-03-05 16:36:11 +00:00
Anders Ingemann
92a3b5c079
ec2: Fix linter error with len(tags)>0 2018-07-19 13:24:44 +02:00
Anders Ingemann
b451c81348
ec2: Silence both boto & boto3 during bootstrapping 2018-07-19 13:02:16 +02:00
Anders Ingemann
7a845fcd81
ec2: Fix bug with EBS creation when no tags were specified
Also make the creation params a little more modular
2018-07-19 13:02:15 +02:00
John Pierce
13f570ffce
EC2: Only add grub specific tasks if using grub 2018-07-15 12:15:14 -05:00
Anders Ingemann
a4f2e1cfdb
ec2: Fix error when credentials fetching fails
A missing 'None' default would cover up the issue that the
user has not supplied any credentials for ec2
2018-07-10 15:05:09 +02:00
Kirk Hansen
ad02412b96 Fix stretch ENA install
Intel broke the 4.3.4 URL version with their latest push of 4.3.5
2018-06-14 10:18:47 -05:00
Kirk Hansen
8287a64d3a Update ebsvolume snapshot_created waiter
Sometimes AWS takes longer than 10 minutes to create the snapshot. This
gives them 30 minutes to do it.
2018-06-14 10:18:25 -05:00
Veli-Matti Lintu
2a741a81bf Explicitly define None as the default value for missing kms_key_id key
in manifest. None should be returned by default, but this makes it
easier to see.
2018-06-14 09:38:36 +03:00
Veli-Matti Lintu
8e24c5e795 Add support for encrypted AMIs that can be used to launch instances
with encrypted boot volume.
2018-06-12 14:21:37 +03:00
Anders Ingemann
2c02e6875a
Merge pull request #446 from vmlintu-nosto/set_ebs_tags
Tag ebs volumes when using ec2 provider
2018-06-11 18:19:50 +02:00
Anders Ingemann
7e6a7d4267
Merge pull request #471 from CMeza99/pylint+imports
Pylint code clean up
2018-06-07 22:09:33 +02:00
Veli-Matti Lintu
fcd5b5b396 Add tags also to the EBS volumes when they are created. This follows the
same functionality as is already in place for snapshots and AMIs.
2018-06-04 16:52:45 +03:00
Joseph Nuthalapati
419a4300f4
Fix issues in building Debian testing images
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2018-04-27 12:02:22 +05:30
Carlos Meza
1ec736038c pylint E1608(old-octal-literal) 2018-04-09 22:27:43 -07:00
Carlos Meza
4e1864aa2b fix pylint W0403(relative-import) paths 2018-02-25 08:37:17 +00:00
Carlos Meza
6e183914ac fix pylint W0403(relative-import) 2018-02-25 04:12:24 +00:00
Anders Ingemann
1d755abfc6
Merge pull request #449 from CMeza99/remove_eol
Remove squeeze support
2018-02-08 09:45:19 +01:00
Carlos Meza
a3584e6de9 remove squeeze support 2018-02-08 06:02:20 +00:00
Carlos Meza
0e199f8ec1 select version for amzn-driver 2018-02-07 02:17:33 +00:00
Anders Ingemann
71ba58327c
Merge pull request #423 from CMeza99/use-profiles-sts
add ability to use profile for ec2 provider
2018-01-24 17:24:35 +01:00
Carlos Meza
2fda782fff add ability to use profile for ec2 provider 2018-01-24 06:43:56 +00:00
Marcin Engelmann
8e92cf7db9 Add comment-header to files deployed by bootstrap-vz (resolves #429) 2018-01-20 18:18:56 +01:00
Carlos Meza
c1d9f5d50b update intel ixgbevf url 2017-12-19 18:03:25 -08:00
Anders Ingemann
fc8b8ab9a5
ec2: re-add 'copy' import from shutils 2017-11-09 20:18:16 +01:00
Anders Ingemann
df32bf4792
ec2: Move cloud-init mount tuning to cloud-init plugin
Fixes #406
2017-11-09 20:16:19 +01:00
Jose Porcel
b2cc807475 #397 fix: Installing enhanced networking kernel driver using DKMS fails in stretch 2017-09-15 17:03:05 +01:00
Guillaume Plessis
7234be601b Fix flake8 tests 2017-08-23 14:42:31 -07:00
Guillaume Plessis
cb886fe3d6 Don’t crash on empty AMI name 2017-08-23 12:58:23 -07:00
Christopher Grim
c87aa22069 EC2: Update the URL to dowload the ixgbevf driver
The URL for the ixgbevf driver is currently returning a 404. Updating
to the new mirror URL gets EC2 builds with enhanced networking support
working again.
2017-03-15 16:57:44 -04:00
Anders Ingemann
5bc4937704
Update docs with boto3 req.
Fixes #362
2017-02-03 15:41:47 +01:00
Anders Ingemann
6e4722c011
Remove '*****' from InstallENANetworking task desc. 2017-01-23 23:14:39 +01:00
Marcin Kulisz
673260ec63 EC2 provider: fixing snapshot tagging 2017-01-21 22:44:16 +00:00
Marcin Kulisz
ef698b06ca Final fix for ec2_launch plugin 2017-01-21 20:31:49 +00:00
Marcin Kulisz
07c66e9030 EC2 provider: added ENA driver (installing with +
enhanced_networking set to simple)
2017-01-19 18:53:26 +00:00
Marcin Kulisz
89eedae5fc Porting EC2 provider to boto3 2017-01-19 18:53:26 +00:00
Peter Wagner
441786e8e1 Support ca-central-1
AMI? More like eh-MI
2016-12-09 08:39:17 +01:00
Anders Ingemann
00de1738d7
Fix indentation typo in ec2 network task 2016-12-01 15:06:28 +01:00
James Bromberger
0664bdd2ac
Get new SR IOV network driver. Update official manifest to generate tags on AMIs. 2016-12-01 15:03:22 +01:00
Marcin Kulisz
0d95674c36 Disabling PIE during ixgbevf compilation for AWS +
enhanced network instances Stretch upwards.
* For GCC >=6 in Debian PIE (Position Independent Executable) has being activated
  it is causing enhanced network driver for AWS images to fail at
  compilation time due to incompatibility with PIE options for the kernel
* To learn what PIE is read docs at
  https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#Code-Gen-Options
2016-10-31 16:18:44 +00:00
Marcin Kulisz
5267d95360 Added AMI tagging for AWS provider +
* minor syntax fixes
* added official Stretch manifest
2016-10-31 15:26:17 +00:00
Marcin Kulisz
c3a6d4f232 Backports should be available for all releases <= stable 2016-09-24 19:05:29 +01:00
Marcin Kulisz
ee64a87889 Stretch (9.0) patch #2 - EC2: Removing backports +
if release >= jessie and not stable
2016-09-24 19:03:28 +01:00