ec2_amitools 1.0.2 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ec2/platform/base/constants.rb +7 -5
- data/lib/ec2/platform/linux/image.rb +1 -1
- data/lib/ec2/version.rb +1 -1
- metadata +4 -5
- data/lib/ec2/amitools/defaults.rb +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdbbdd2100494c900e371771e6bd226f1435686a
|
4
|
+
data.tar.gz: 49211d86d6e301b0e9dc7f795532cb7250269ff7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d42b3b0df7fc5ce7ad45142ab600af33e6d2f1971596c8a64972c7e6cc1fea573488b719c6a1a92f8b56e740e04142e3b6902ef53d3b15b29af89d485dd170e2
|
7
|
+
data.tar.gz: 7238a1fd4ca54eb26398e2a7e939489b4685e561e2e9effac6008cf21104e0900bc3e211f789c185059e8b8719048bdca533c808a821ecb2941e16e70c4bc170
|
@@ -16,11 +16,13 @@ module EC2
|
|
16
16
|
module Base
|
17
17
|
module Constants
|
18
18
|
module Bundling
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
19
|
+
BASE_DIR = __FILE__.to_s.gsub(/\/lib\/.*/, '')
|
20
|
+
|
21
|
+
EC2_X509_CERT = File.join(BASE_DIR, '/etc/ec2/amitools/cert-ec2.pem')
|
22
|
+
EC2_X509_GOV_CERT = File.join(BASE_DIR, '/etc/ec2/amitools/cert-ec2-gov.pem')
|
23
|
+
EC2_X509_CN_NORTH_1_CERT = File.join(BASE_DIR, '/etc/ec2/amitools/cert-ec2-cn-north-1.pem')
|
24
|
+
EC2_MAPPING_FILE = File.join(BASE_DIR, '/etc/ec2/amitools/mappings.csv')
|
25
|
+
|
24
26
|
EC2_MAPPING_URL = 'https://ec2-downloads.s3.amazonaws.com/mappings.csv'
|
25
27
|
DESTINATION = '/tmp'
|
26
28
|
end
|
@@ -667,7 +667,7 @@ module EC2
|
|
667
667
|
raise FatalError.new("image already mounted") if mounted?(IMG_MNT)
|
668
668
|
dirs = ['mnt', 'proc', 'sys', 'dev']
|
669
669
|
if self.is_disk_image?
|
670
|
-
execute( 'mount -t %s %s %s' % [@fstype, @target, IMG_MNT] )
|
670
|
+
execute( 'mount -o nouuid -t %s %s %s' % [@fstype, @target, IMG_MNT] )
|
671
671
|
dirs.each{|dir| FileUtils.mkdir_p( '%s/%s' % [IMG_MNT, dir])}
|
672
672
|
make_special_devices
|
673
673
|
execute( 'mount -o bind /proc %s/proc' % IMG_MNT )
|
data/lib/ec2/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ec2_amitools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey Bobyrev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,7 +38,7 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
|
-
description:
|
41
|
+
description: ec2-ami-tools-1.5.7 by Amazon packed into a gem
|
42
42
|
email:
|
43
43
|
- alexey.bobyrev@gmail.com
|
44
44
|
executables:
|
@@ -80,7 +80,6 @@ files:
|
|
80
80
|
- lib/ec2/amitools/bundlevolparameters.rb
|
81
81
|
- lib/ec2/amitools/crypto.rb
|
82
82
|
- lib/ec2/amitools/decryptmanifest.rb
|
83
|
-
- lib/ec2/amitools/defaults.rb
|
84
83
|
- lib/ec2/amitools/deletebundle.rb
|
85
84
|
- lib/ec2/amitools/deletebundleparameters.rb
|
86
85
|
- lib/ec2/amitools/downloadbundle.rb
|
@@ -180,5 +179,5 @@ rubyforge_project:
|
|
180
179
|
rubygems_version: 2.5.2
|
181
180
|
signing_key:
|
182
181
|
specification_version: 4
|
183
|
-
summary:
|
182
|
+
summary: ec2-ami-tools-1.5.7
|
184
183
|
test_files: []
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# Copyright 2008-2014 Amazon.com, Inc. or its affiliates. All Rights
|
2
|
-
# Reserved. Licensed under the Amazon Software License (the
|
3
|
-
# "License"). You may not use this file except in compliance with the
|
4
|
-
# License. A copy of the License is located at
|
5
|
-
# http://aws.amazon.com/asl or in the "license" file accompanying this
|
6
|
-
# file. This file is distributed on an "AS IS" BASIS, WITHOUT
|
7
|
-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See
|
8
|
-
# the License for the specific language governing permissions and
|
9
|
-
# limitations under the License.
|
10
|
-
|
11
|
-
EC2_HOME = ENV['EC2_AMITOOL_HOME'] || ENV['EC2_HOME']
|
12
|
-
EC2_X509_CERT = '#{EC2_HOME}/etc/ec2/amitools/cert-ec2.pem'
|