virtualbox-guestcontrol 1.0.0 → 1.0.1
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.
- data/bin/rvbox +4 -0
- data/lib/virtualbox-guestcontrol/version.rb +1 -1
- metadata +1 -1
data/bin/rvbox
CHANGED
@@ -4,12 +4,16 @@ require File.expand_path("../../lib/virtualbox-guestcontrol.rb", __FILE__)
|
|
4
4
|
class VirtualBoxCommand < Clamp::Command
|
5
5
|
option ["-u", "--username"], "USERNAME", "username to log in as"
|
6
6
|
option ["-p", "--password"], "PASSWORD", "password to log in as"
|
7
|
+
option ["-t", "--timeout"], "TIMEOUT", "timeout in seconds"
|
8
|
+
option ["-b", "--vboxmanage"], "PATH", "path to VBoxManage"
|
7
9
|
|
8
10
|
def virtual_box
|
9
11
|
VirtualBox::GuestControl::Runner.configure do |c|
|
10
12
|
c.name = name
|
11
13
|
c.username = username
|
12
14
|
c.password = password
|
15
|
+
c.vbox_manage = vboxmanage unless vboxmanage.nil?
|
16
|
+
c.default_timeout = timeout unless vboxmanage.nil?
|
13
17
|
end
|
14
18
|
VirtualBox::GuestControl::Runner.new
|
15
19
|
end
|