opennebula-provider 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b60bec9aff9387371b4006a6ba193d70b44eb8fa5aaadbf1a2ea29703828642
4
- data.tar.gz: 4b1d957117ed361204089545653af7f652612587384ee1540acf07275e6d152b
3
+ metadata.gz: 6ce8761d10b8a666d4de49abc3bf470bb181cb6c3a80f75030d37ee2c4563ac2
4
+ data.tar.gz: 86b8d5482280aa76fb415d0699ee95e3be3f79f53fa9ff1af038985ff5fffbcd
5
5
  SHA512:
6
- metadata.gz: 4938bff37a014c11dd8c6f5e42f4a5367ef9d76ccde6d06e63e9447e7373ce65cd3df16fe7e977055e32928b3f81c33c4ee3710daab54b67025ef742adf0effe
7
- data.tar.gz: e805d5117d6917173af079da36c044f95b60339ee4a932517c34fc8db7a7bcfe91472442d38d4f5dfd7eb6b0352fd883e13165f022a793e91a84c614a3629fec
6
+ metadata.gz: de86142384225983e2eb7c5cd1674e3214242385e54d78fa2475b5dd24bbad9659f5d83bec795eed4c6adef5c88da00f438217eef8c9fa0c47e7a1e6bc8560c3
7
+ data.tar.gz: 10ca5ad8a473bbb20d7cbfc15aedc8b3522b0d4fb19240c60254671bb86937257babe7ada2340af8e68bdee8f898876a75508a974f2ee1f2f25640987328e95a
data/README.md CHANGED
@@ -48,6 +48,7 @@ end
48
48
  * `cpu` - An instance cpus
49
49
  * `vcpu` - An instance virtual cpus
50
50
  * `disk_size` - Disk size, in MB, for templates with ONLY one disk
51
+ * `user_variables` - An instance specified variables (like 'CPU_MODEL = [ MODEL = host-passthrough ]')
51
52
 
52
53
  You can use `template_name` parameters instead `template_id` to define template by name and if there are multiple templates with the same name will be used the most recent.
53
54
 
@@ -15,6 +15,7 @@ module VagrantPlugins
15
15
  attr_accessor :cpu
16
16
  attr_accessor :vcpu
17
17
  attr_accessor :disk_size
18
+ attr_accessor :user_variables
18
19
 
19
20
  def initialize
20
21
  @endpoint = ENV['ONE_XMLRPC'] || ENV['ONE_ENDPOINT'] || UNSET_VALUE
@@ -30,6 +31,7 @@ module VagrantPlugins
30
31
  @cpu = UNSET_VALUE
31
32
  @vcpu = UNSET_VALUE
32
33
  @disk_size = UNSET_VALUE
34
+ @user_variables = UNSET_VALUE
33
35
  end
34
36
 
35
37
  def finalize!
@@ -55,6 +57,7 @@ module VagrantPlugins
55
57
  @vcpu = @cpu
56
58
  end
57
59
  @disk_size = nil if @disk_size == UNSET_VALUE
60
+ @user_variables = nil if @user_variables == UNSET_VALUE
58
61
  end
59
62
 
60
63
  def validate(machine)
@@ -69,6 +69,7 @@ module VagrantPlugins
69
69
  if @provider_config.disk_size != nil
70
70
  newvm.flavor.disk["SIZE"] = @provider_config.disk_size
71
71
  end
72
+ newvm.flavor.user_variables = @provider_config.user_variables unless @provider_config.user_variables.nil?
72
73
  @logger.warn "Deploying VM with options #{newvm.flavor.inspect}"
73
74
  vm = newvm.save
74
75
  vm.id
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module OpenNebulaProvider
3
- VERSION = '1.1.5'
3
+ VERSION = '1.1.6'
4
4
  end
5
5
  end
data/locales/en.yml CHANGED
@@ -59,6 +59,11 @@ en:
59
59
  long_waiting: |-
60
60
  Instance is waiting to create or boot
61
61
 
62
+ short_boot: |-
63
+ boot
64
+ long_waiting: |-
65
+ OpenNebula is waiting for the hypervisor to create the VM
66
+
62
67
  short_running: |-
63
68
  running
64
69
  long_running: |-
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opennebula-provider
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cherdancev Evgeni
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-29 00:00:00.000000000 Z
11
+ date: 2022-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: opennebula
@@ -127,7 +127,7 @@ homepage: ''
127
127
  licenses:
128
128
  - MIT
129
129
  metadata: {}
130
- post_install_message:
130
+ post_install_message:
131
131
  rdoc_options: []
132
132
  require_paths:
133
133
  - lib
@@ -142,8 +142,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
144
  requirements: []
145
- rubygems_version: 3.1.2
146
- signing_key:
145
+ rubygems_version: 3.1.4
146
+ signing_key:
147
147
  specification_version: 4
148
148
  summary: OpenNebula provider for Vagrant
149
149
  test_files: []