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
|
||||
self._api = None
|
||||
# All proxmox use same UniqueId generator
|
||||
self._vmid_generator = UniqueIDGenerator('vmid', 'proxmox', 'proxmox')
|
||||
|
||||
if values is not None:
|
||||
self.timeout.value = validators.validateTimeout(self.timeout.value)
|
||||
logger.debug(self.host.value)
|
||||
|
||||
# All proxmox use same UniqueId generator
|
||||
self._vmid_generator = UniqueIDGenerator('vmid', 'proxmox', 'proxmox')
|
||||
|
||||
def testConnection(self) -> bool:
|
||||
"""
|
||||
Test that conection to Proxmox server is fine
|
||||
|
Loading…
Reference in New Issue
Block a user