Commit graph

278 commits

Author SHA1 Message Date
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
8608858651 pylint W0104(pointless-statement) 2018-02-25 08:37:24 +00: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
Carlos Meza
9ad44d0216 pylint old-style-class 2018-02-19 00:31:12 -08:00
Carlos Meza
c19eb61bbf add docker specific settings 2018-02-14 03:53:33 +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
Anders Ingemann
fe4782bbea
Merge pull request #439 from octivi/headers
Add comment-header to files deployed by bootstrap-vz
2018-01-20 18:27:38 +01:00
Marcin Engelmann
8e92cf7db9 Add comment-header to files deployed by bootstrap-vz (resolves #429) 2018-01-20 18:18:56 +01:00
Marcin Engelmann
ff014a431e Force order of tasks that add console=xxx to kernel command line 2018-01-20 15:45:34 +01:00
Marcin Engelmann
ad0428a3c6 Add to the KVM provider option to set output of the init process to a virtual or serial console 2018-01-19 09:32:44 +01:00
Marcin Engelmann
6bb167f361 Clear the machine ID for jessie and newer releases (systemd) (resolves #427) 2018-01-14 14:27:20 +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
Zach Marano
7804639f66 Remove the bits that disabled IPv6 for GCE. 2017-11-08 13:18:58 -08:00
Jose Porcel
b2cc807475 #397 fix: Installing enhanced networking kernel driver using DKMS fails in stretch 2017-09-15 17:03:05 +01:00
Zach Marano
79a1aa1616 Add GCE buster builds. 2017-08-30 17:50:27 -07: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
Anders Ingemann
bf7525426b
vbox: Make guest additions path relative to manifest 2017-07-14 18:27:16 +02:00
Brendan Harley
cc69173e52 Add qcow2 as a disk backend for KVM
This allows to build an image with qcow2 as a disk backend.

The update implements a new class that inherits from QEMUVolume and just
needs the extention and file format.
2017-06-16 15:54:51 +02:00
Anders Ingemann
3e5c94f0d4 Merge pull request #381 from Exy13/lvm
Add LVM as a disk backend
2017-06-08 21:55:34 +02:00
Brendan Harley
511a44f72e Add LVM as a disk backend
Enables the use of Logical Volumes as disk backends.

It uses an existing volume group and has no support for creating a new one.
It will not override an existing logical volume and fail gracefully.

The lv is created, activated and then mounted as a loop device.
The boostraping process is then launched on the loop device.
Once the process is completed, the lv is unmounted and desactivated.

The created lv will be deleted should the boostraping process fail.

The lv must be activated before use.

A manifest has been included for testing purposes.
2017-06-08 17:05:48 +02:00
Zach Marano
c6a6a6e8b1 Enable SCSI block multiqueue for GCE Stretch images. 2017-05-02 12:55:51 -07:00
Anders Ingemann
a40c639c3c
Move some package adding tasks into the preparation phase 2017-04-15 10:01:27 +02: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
Zach Marano
74a58c6829 Create a plugin for expand_root to replace the internal common task.
Switch GCE to use this plugin.
2017-01-26 10:18:04 -08: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