marhan_cli 0.0.12 → 0.0.13
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/Changelog.md +5 -1
- data/README.md +8 -2
- data/lib/marhan_cli/apps/virtual_box.rb +2 -2
- data/lib/marhan_cli/version.rb +1 -1
- data/spec/unit/fixtures/config.yml +1 -1
- data/spec/unit/lib/marhan_cli/config_spec.rb +1 -1
- metadata +1 -1
data/Changelog.md
CHANGED
@@ -49,4 +49,8 @@
|
|
49
49
|
## v0.0.12
|
50
50
|
|
51
51
|
* VirtualBox command connects automaticaly to ssh server, if guest configuration has 'ssh' connection data. (command => vbox:start)
|
52
|
-
* 'VBoxManage controlvm ' uses 'acpipowerbutton' instead of 'poweroff', now. (command => vbox:stop)
|
52
|
+
* 'VBoxManage controlvm ' uses 'acpipowerbutton' instead of 'poweroff', now. (command => vbox:stop)
|
53
|
+
|
54
|
+
## v0.0.13
|
55
|
+
|
56
|
+
* Configuration file will be used completely. 'SSH' configuration was ignored.
|
data/README.md
CHANGED
@@ -31,8 +31,14 @@ Configuration file `~/.marhan_cli.yml` is used for several commands
|
|
31
31
|
hdd: /dev/rdisk2s2
|
32
32
|
vbox:
|
33
33
|
guests:
|
34
|
-
linux:
|
35
|
-
|
34
|
+
linux:
|
35
|
+
name: Ubuntu Linux
|
36
|
+
ssh:
|
37
|
+
user: nameofuser
|
38
|
+
host: localhost
|
39
|
+
port: 2222
|
40
|
+
windows:
|
41
|
+
name: Windows XP
|
36
42
|
|
37
43
|
## Contributing
|
38
44
|
|
@@ -21,8 +21,8 @@ module MarhanCli
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def guest_ssh_server_up?(guest_config_name)
|
24
|
-
remote_machine = RemoteMachine.new(
|
25
|
-
remote_machine.ssh_server_running?(
|
24
|
+
remote_machine = RemoteMachine.new(@guests[guest_config_name].ssh.host, @guests[guest_config_name].ssh.port)
|
25
|
+
remote_machine.ssh_server_running?(@guests[guest_config_name].ssh.user)
|
26
26
|
end
|
27
27
|
|
28
28
|
def vbox_name(guest_config_name)
|
data/lib/marhan_cli/version.rb
CHANGED