vagrant-xenserver 0.0.13 → 0.0.14
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9ccddd2df09b0bf274e51c62dc9acaa73e8b1388
|
|
4
|
+
data.tar.gz: 97e32f1c89949c5f34221da90720265bfec38d7b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f183b2649147ae4f29a34d2da8452338f4f40b27626bd4ead0f4be2305b2448a8c67b0bdf3089e494ca2e240e76f1d04789c05cc32a08531dbd4ff14aa1d174
|
|
7
|
+
data.tar.gz: c79c60e7e0c2d375209b3e5a11d32366386f30d277ab97ce571141a751140453f6101b73bb3d2fa720e55e569efb3ae89247a2f7b732fe1b0a3807e770390305
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -141,15 +141,8 @@ plugin supports using the 'host internal management network' (HIMN),
|
|
|
141
141
|
which is an internal-only network on which a DHCP server runs. Use of
|
|
142
142
|
this requires additional setup of dom0:
|
|
143
143
|
|
|
144
|
-
N.B. Currently this will only work on XenServer 6.5 and later
|
|
145
|
-
|
|
146
|
-
# Install netcat (XenServer 7.0 onwards)
|
|
147
|
-
yum install --enablerepo=base,extras -y nc
|
|
148
|
-
# Install netcat (XenServer 6.5)
|
|
149
|
-
yum install --enablerepo=base,extras --disablerepo=citrix -y nc
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
You will also need to copy your ssh key to the Xenserver host:
|
|
144
|
+
N.B. Currently this will only work on XenServer 6.5 and later.
|
|
145
|
+
You will need to copy your ssh key to the Xenserver host:
|
|
153
146
|
|
|
154
147
|
ssh-copy-id root@xenserver
|
|
155
148
|
|
|
@@ -61,6 +61,10 @@ module VagrantPlugins
|
|
|
61
61
|
|
|
62
62
|
netrefrec = networks.find { |ref,net| net['bridge']==bridge }
|
|
63
63
|
(net_ref,net_rec) = netrefrec
|
|
64
|
+
if net_ref.nil? then
|
|
65
|
+
@logger.error("Error finding bridge #{bridge} on host")
|
|
66
|
+
raise Errors::NoHostsAvailable
|
|
67
|
+
end
|
|
64
68
|
|
|
65
69
|
vif_res = create_vif(env, vm_ref, net_ref, mac)
|
|
66
70
|
|
|
@@ -30,7 +30,7 @@ module VagrantPlugins
|
|
|
30
30
|
template = nil
|
|
31
31
|
|
|
32
32
|
Action.getlock.synchronize do
|
|
33
|
-
templates = env[:xc].VM.get_all_records_where("field \"is_a_template\"=\"true\"")
|
|
33
|
+
templates = env[:xc].VM.get_all_records_where("field \"is_a_template\"=\"true\" and field \"is_a_snapshot\"=\"false\"")
|
|
34
34
|
template = templates.detect { |vm,vmr|
|
|
35
35
|
vmr["other_config"]["box_name"] == box_name &&
|
|
36
36
|
vmr["other_config"]["box_version"] == box_version
|
|
@@ -50,7 +50,7 @@ module VagrantPlugins
|
|
|
50
50
|
:forward_x11 => machine.config.ssh.forward_x11,
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
ssh_info[:proxy_command] = "ssh '#{machine.provider_config.xs_host}' -l '#{machine.provider_config.xs_username}'
|
|
53
|
+
ssh_info[:proxy_command] = "ssh '#{machine.provider_config.xs_host}' -l '#{machine.provider_config.xs_username}' -W %h:%p"
|
|
54
54
|
|
|
55
55
|
if not ssh_info[:username]
|
|
56
56
|
ssh_info[:username] = machine.config.ssh.default.username
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vagrant-xenserver
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jon Ludlam
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-07-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|