inprovise-vbox 0.2.14 → 0.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 36e40435163f033b44e8d90b0e13c1f4764a430c
4
- data.tar.gz: 1e915c39b25898b29f1afb53ca0789f78ccee2e1
2
+ SHA256:
3
+ metadata.gz: 67be4c368b4cd1877c8f6e177f3620bbafa8682b8ab5f113f5da0165ff31eca5
4
+ data.tar.gz: 63333a0494b51886dfc0f4ec41749faf7382f7ab6ca92a677d7257061f8af249
5
5
  SHA512:
6
- metadata.gz: 54306fba4eb816ad9fe83c66068a3f127b87e760029a78d24b97e2b4925b911a6b1bcf86c25d8cf40d67e4a75d8be01df7d1d6353db7bc01a007b47a556bf1cc
7
- data.tar.gz: a85803fa74805e90e364552de3cf0bdc1c1bd0f24f3e544d1b5d197e3fda9e85bd8c6e2d964de4420844e48817e36658bd8a08749ceab0ed9e1ba5f036598476
6
+ metadata.gz: 129cba3b21d4ee67c4146cb4d6ea01f75a20a013a300f14b1bbfde8d27286d4b8e7d6f92fbbc26d11087456666b6b40c0976d24712493abc6fbc6e02b90d435f
7
+ data.tar.gz: 61686562ceb7397dfe1503c05671eb6278bc43faa96ea062ef5ae6b96cf68da90c80151bd73cd4c734fd351d99a42bf4df56bcf2ee7afc0d6c62807662d541af
@@ -0,0 +1,12 @@
1
+ # Set update schedule for GitHub Actions
2
+ version: 2
3
+ updates:
4
+ - package-ecosystem: "github-actions"
5
+ directory: "/"
6
+ schedule:
7
+ interval: "weekly"
8
+
9
+ - package-ecosystem: bundler
10
+ directory: "/"
11
+ schedule:
12
+ interval: weekly
@@ -1,11 +1,11 @@
1
1
  require File.join(File.dirname(__FILE__), 'lib/inprovise/vbox/version')
2
2
 
3
3
  Gem::Specification.new do |gem|
4
- gem.authors = ["Martin Corino"]
5
- gem.email = ["mcorino@remedy.nl"]
4
+ gem.authors = ["Johnny Willemsen"]
5
+ gem.email = ["jwillemsen@remedy.nl"]
6
6
  gem.description = %q{VBox script extension for Inprovise}
7
7
  gem.summary = %q{Simple, easy and intuitive virtual machine provisioning}
8
- gem.homepage = ""
8
+ gem.homepage = "https://github.com/RemedyIT/Inprovise-VBox"
9
9
 
10
10
  gem.files = `git ls-files`.split($\)
11
11
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -45,7 +45,11 @@ module Inprovise::VBox
45
45
  # check if os variant defined on this host
46
46
  if cfg[:os]
47
47
  os_variant = sudo("osinfo-query --fields=short-id os | grep #{cfg[:os]}").strip
48
- cmdline << "--os-variant #{cfg[:os]} " unless os_variant.empty?
48
+ unless os_variant.empty?
49
+ cmdline << "--os-variant #{cfg[:os]} "
50
+ else
51
+ cmdline << "--osinfo detect=on,require=off "
52
+ end
49
53
  end
50
54
  cmdline << '--network '
51
55
  cmdline << case cfg[:network]
@@ -53,6 +57,8 @@ module Inprovise::VBox
53
57
  "network=#{cfg[:netname] || 'default'}"
54
58
  when :bridge
55
59
  "bridge=#{cfg[:netname] || 'virbr0' }"
60
+ when :direct
61
+ "type=direct,source=#{cfg[:source]}"
56
62
  end
57
63
  cmdline << ",model=#{cfg[:nic]}" if cfg[:nic]
58
64
  cmdline << ' '
@@ -236,12 +242,12 @@ module Inprovise::VBox
236
242
  end
237
243
  Inprovise::Infrastructure.save unless node_group.empty?
238
244
  unless vbs.vbox_no_sniff(self)
239
- (1..5).each do |i|
245
+ (1..10).each do |i|
240
246
  begin
241
247
  Inprovise::Sniffer.run_sniffers_for(node)
242
248
  break
243
249
  rescue
244
- raise if i == 5
250
+ raise if i == 10
245
251
  sleep(5) # maybe VM needs more time to start up SSH
246
252
  node.disconnect!
247
253
  # retry on (comm) failure
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Inprovise; module VBox
7
7
 
8
- VERSION = '0.2.14'
8
+ VERSION = '0.2.16'
9
9
 
10
10
  end; end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inprovise-vbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.14
4
+ version: 0.2.16
5
5
  platform: ruby
6
6
  authors:
7
- - Martin Corino
8
- autorequire:
7
+ - Johnny Willemsen
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-19 00:00:00.000000000 Z
11
+ date: 2025-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: inprovise
@@ -26,11 +26,12 @@ dependencies:
26
26
  version: '0'
27
27
  description: VBox script extension for Inprovise
28
28
  email:
29
- - mcorino@remedy.nl
29
+ - jwillemsen@remedy.nl
30
30
  executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
+ - ".github/dependabot.yml"
34
35
  - ".gitignore"
35
36
  - ".travis.yml"
36
37
  - Gemfile
@@ -43,7 +44,7 @@ files:
43
44
  - test/fixtures/inprovise.rb
44
45
  - test/test_helper.rb
45
46
  - test/vbox_test.rb
46
- homepage: ''
47
+ homepage: https://github.com/RemedyIT/Inprovise-VBox
47
48
  licenses: []
48
49
  metadata: {}
49
50
  post_install_message: ''
@@ -61,9 +62,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
62
  - !ruby/object:Gem::Version
62
63
  version: '0'
63
64
  requirements: []
64
- rubyforge_project:
65
- rubygems_version: 2.4.8
66
- signing_key:
65
+ rubygems_version: 3.2.3
66
+ signing_key:
67
67
  specification_version: 4
68
68
  summary: Simple, easy and intuitive virtual machine provisioning
69
69
  test_files: