forked from shaba/openuds
Fixed Min-Max admin values checking && set proxmox vmid as readonly
This commit is contained in:
parent
c5071cf348
commit
f403d4ff3e
@ -170,13 +170,14 @@ class ProxmoxProvider(
|
|||||||
|
|
||||||
# Just reset _api connection variable
|
# Just reset _api connection variable
|
||||||
self._api = None
|
self._api = None
|
||||||
# All proxmox use same UniqueId generator
|
|
||||||
self._vmid_generator = UniqueIDGenerator('vmid', 'proxmox', 'proxmox')
|
|
||||||
|
|
||||||
if values is not None:
|
if values is not None:
|
||||||
self.timeout.value = validators.validateTimeout(self.timeout.value)
|
self.timeout.value = validators.validateTimeout(self.timeout.value)
|
||||||
logger.debug(self.host.value)
|
logger.debug(self.host.value)
|
||||||
|
|
||||||
|
# All proxmox use same UniqueId generator
|
||||||
|
self._vmid_generator = UniqueIDGenerator('vmid', 'proxmox', 'proxmox')
|
||||||
|
|
||||||
def testConnection(self) -> bool:
|
def testConnection(self) -> bool:
|
||||||
"""
|
"""
|
||||||
Test that conection to Proxmox server is fine
|
Test that conection to Proxmox server is fine
|
||||||
|
Loading…
Reference in New Issue
Block a user