virtuoso-prototype 0.0.5 → 0.0.6

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.
@@ -23,6 +23,7 @@ module VirtualBox
23
23
  disk = create_disk!(vm_name)
24
24
  attach_disk!(vm, storage_controller, disk)
25
25
  add_bridged_network_interface!(vm, 1, bond_interface)
26
+ set_boot_order!(vm)
26
27
  end
27
28
 
28
29
  def destroy!(vm_name, physically_delete_media=true)
@@ -37,6 +38,12 @@ module VirtualBox
37
38
 
38
39
  private
39
40
 
41
+ def set_boot_order!(vm)
42
+ vm.boot_order = [:network, :floppy, :dvd, :hard_disk]
43
+ vm.save
44
+ vm
45
+ end
46
+
40
47
  def add_bridged_network_interface!(vm, interface_number, bridge_interface)
41
48
  status, stdout, stderr = systemu "VBoxManage modifyvm #{vm.uuid} --nic#{interface_number} bridged --bridgeadapter#{interface_number} #{bridge_interface}"
42
49
  @log.debug("Ran VBoxManage add network interface: output (#{status}):")
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: virtuoso-prototype
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 5
10
- version: 0.0.5
9
+ - 6
10
+ version: 0.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - 3Crowd Technologies, Inc.