vagrant-qemu 0.3.7 → 0.3.8
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
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad58eff4d1ca4ecc7899ccd8f5cf5e13497a0ba7f226dc425858f89a59cc2151
|
4
|
+
data.tar.gz: b91caf53e6f505b0ec6e7a6aefd4773f0205fcfff35f1015f915a4ce9056a0aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56885cedf852f75eaf87b6ab73904eb43a7775d36a7586a2f5558905726ccf0d5ebdafb69ea5fe9f6e34733b404d49245d7a87c0224d6c25e7aeb21b547eedd3
|
7
|
+
data.tar.gz: a7d03a0326ffe78dfad134a11cc402a091a872c97b3bbf5fea0c769a3712f604fc2efa544cff29d2a8ccb34cb82af086a6f5a7ff8dbfb4bdb7cee387354c63e9
|
data/CHANGELOG.md
CHANGED
@@ -77,3 +77,7 @@
|
|
77
77
|
* Ignore exception after sending 'system_powerdown' cmd, fix windows halt error
|
78
78
|
* Move pid file to tmp dir
|
79
79
|
* Be able to auto correct ssh port collisions, new config: ssh_auto_correct
|
80
|
+
|
81
|
+
# 0.3.8 (2025-02-21)
|
82
|
+
|
83
|
+
* Fix regression that ssh_port is not working #68
|
@@ -21,16 +21,23 @@ module VagrantPlugins
|
|
21
21
|
machine.config.vm.networks.each do |type, options|
|
22
22
|
next if type != :forwarded_port
|
23
23
|
|
24
|
-
#
|
24
|
+
# update ssh.host to ssh_port
|
25
25
|
if options[:id] == "ssh"
|
26
|
-
|
26
|
+
options[:host] = machine.provider_config.ssh_port
|
27
|
+
options[:auto_correct] = machine.provider_config.ssh_auto_correct
|
27
28
|
has_ssh_forward = true
|
28
29
|
break
|
29
30
|
end
|
30
31
|
end
|
31
32
|
|
32
33
|
if !has_ssh_forward
|
33
|
-
machine.config.vm.
|
34
|
+
machine.config.vm.network :forwarded_port,
|
35
|
+
:guest => 22,
|
36
|
+
:host => machine.provider_config.ssh_port,
|
37
|
+
:host_ip => "127.0.0.1",
|
38
|
+
:id => "ssh",
|
39
|
+
:auto_correct => machine.provider_config.ssh_auto_correct,
|
40
|
+
:protocol => "tcp"
|
34
41
|
end
|
35
42
|
|
36
43
|
@app.call(env)
|
@@ -25,7 +25,7 @@ module VagrantPlugins
|
|
25
25
|
end
|
26
26
|
|
27
27
|
# Update ssh_port if needed
|
28
|
-
if env[:machine_state_id]
|
28
|
+
if env[:machine_state_id] == :running
|
29
29
|
env[:machine].provider_config.ssh_port = env[:machine].provider.driver.get_ssh_port(env[:machine].provider_config.ssh_port)
|
30
30
|
end
|
31
31
|
@app.call(env)
|
data/lib/vagrant-qemu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-qemu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ppggff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Enables Vagrant to manage machines with QEMU.
|
14
14
|
email: pgf00a@gmail.com
|