Commit graph

737 commits

Author SHA1 Message Date
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
Anders Ingemann
bbde39e4fc
admin_user: Remove verbose info about how the key is fetched
There is no need to reiterate what the user has already specified
in the manifest.
2018-07-10 15:04:03 +02:00
Kirk Hansen
ba263e475d Added pip3_plugin 2018-06-14 10:19:55 -05: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
Anders Ingemann
631c94c649
Merge pull request #468 from vmlintu-nosto/encrypted_ebs
Add support for encrypted AMIs
2018-06-14 10:06:17 +02: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
68d7ddb307 Commit 701678c9 changes print statements to print functions with end=' '.
As the printed strings contain newlines, this causes a space to be written
as the first character of the following line causing them to be indented.

An example config that is broken. Here disabling modules indents all the
other lines of cloud.cfg except the first one causing the username name
setting to fail as it expects indenting to be certain number of spaces.

plugins:
  cloud_init:
    metadata_sources: Ec2
    username: admin
    disable_modules:
      - locale
      - mounts

This commit removes the spaces by specifying end=''.
2018-06-13 13:20:05 +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
Anders Ingemann
161c787906
Merge pull request #467 from vitaminmoo/create-disk-dev-dir
Create device dirs if they do not exist
2018-05-02 20:30:04 +02:00
Anders Ingemann
b7ac6470b2
Merge pull request #475 from ishkulov/vagrant-libvirt
Add libvirt support for vagrant plugin
2018-05-02 20:17:11 +02:00
Anders Ingemann
8125468853
Merge pull request #473 from CMeza99/fix-trusted-keys
set permissions for apt gpg pub keys
2018-05-02 20:14:15 +02:00
Ilarion Ishkulov
19c241be2c Add libvirt support for vagrant plugin 2018-04-29 21:22:54 +03:00
Carlos Meza
7045d11ed6 set permissions for apt gpg pub keys 2018-04-27 14:44:11 -07: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
43e54d26cc pylint E1601(print-statement) 2018-04-09 22:27:29 -07:00
Graham Forest
114a069a99
Create device dirs if they do not exist
Some build environments (e.g. Google Cloud Container Builder docker
images) don't have enough of a /dev filesystem to have
/dev/disk/by-uuid/ by default. Make them if they don't exist.
2018-03-28 11:01:41 -07:00
Carlos Meza
4e1a5922f7 pylint W0621(redefined-outer-name) 2018-02-25 10:27:53 +00:00
Carlos Meza
23ec568d3c pylint W0703(broad-except) 2018-02-25 09:43:47 +00:00
Carlos Meza
b180f66ef0 pylint E1101(no-member) 2018-02-25 09:34:12 +00:00
Carlos Meza
05abccda0b pylint R1704(redefined-argument-from-local) 2018-02-25 08:37:24 +00:00
Carlos Meza
4d5732dbd7 pylint R1705(no-else-return) 2018-02-25 08:37:24 +00:00
Carlos Meza
d4314c64bb pylint W0235(useless-super-delegation) 2018-02-25 08:37:24 +00:00
Carlos Meza
ce42d889cd pylint W0406(import-self) 2018-02-25 08:37:24 +00:00
Carlos Meza
8608858651 pylint W0104(pointless-statement) 2018-02-25 08:37:24 +00:00
Carlos Meza
149173ef62 pylint W0622(redefined-builtin) 2018-02-25 08:37:24 +00:00
Carlos Meza
d86f9e94b5 pylint W0404(reimported) 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
c068ba07ab pylint len-as-condition 2018-02-19 00:31:12 -08:00
Carlos Meza
98975cac7b pylint unidiomatic-typecheck 2018-02-19 00:31:12 -08:00
Carlos Meza
b47b55172b pylint import-error bug workaround for distutils 2018-02-19 00:30:20 -08:00
Anders Ingemann
febb7e8a1d
Merge pull request #458 from CMeza99/mobify
Add Docker specific settings
2018-02-14 07:28:10 +01:00
Carlos Meza
c19eb61bbf add docker specific settings 2018-02-14 03:53:33 +00:00
Carlos Meza
d31cc3a34c expose ability to no compress qcow 2018-02-11 23:15:32 +00:00
Anders Ingemann
f05c2650d1
Merge pull request #453 from CMeza99/compress_qcow
Compress QCOW2 when shrinking
2018-02-11 11:19:38 +01:00
Carlos Meza
873ac802e9 use upstream json_minify 2018-02-11 08:29:18 +00:00
Carlos Meza
a1fc143059 compress qcow2 when shrinking 2018-02-11 00:04:16 +00:00
Anders Ingemann
803ec8e987
Merge pull request #450 from CMeza99/bootstraper_gpg
Expose gpg flags for debootstrap
2018-02-10 23:11:40 +01:00
Carlos Meza
d2e00a8173 remove init.d file for squeeze 2018-02-10 03:27:59 +00:00
Carlos Meza
5727550ad4 expose gpg flags for debootstrap 2018-02-09 22:19:59 +00:00