Merge pull request #16 from incoggnito/main
Uppercase hostname and proxy documentation
This commit is contained in:
commit
d4d6809527
@ -34,4 +34,6 @@ pve1.example.com = 8006
|
||||
[SpiceProxyRedirect]
|
||||
# The Spice Proxy provided by the Proxmox API may need to have it's host/port rewritten
|
||||
# These rewrite rules are written `IP:port = IP:port`
|
||||
pve1.example.com:3128 = 123.123.123.123:6000
|
||||
# 1. Use the inidebug and read the current proxy=pve1.example.com:3128
|
||||
# 2. Add your proxmox ip to the right side e.g. 123.123.123.123:6000
|
||||
pve1.example.com:3128 = 123.123.123.123:6000
|
||||
|
@ -253,7 +253,7 @@ def vmaction(vmnode, vmid, vmtype):
|
||||
confignode['virt-viewer'] = {}
|
||||
for key,value in spiceconfig.items():
|
||||
if key == 'proxy':
|
||||
val = value[7:]
|
||||
val = value[7:].lower()
|
||||
if val in G.spiceproxy_conv:
|
||||
confignode['virt-viewer'][key] = f'http://{G.spiceproxy_conv[val]}'
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user