You've already forked netbox-proxmox-power-button
secured the plugin a bit for 0.1.1
This commit is contained in:
@@ -7,7 +7,7 @@ class ProxmoxPowerButtonConfig(PluginConfig):
|
||||
name = "proxmox_power_button"
|
||||
verbose_name = "Proxmox Power Button"
|
||||
description = "Start/stop/reboot Proxmox VMs from the NetBox VM detail page"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
author = "Bryan Pedini"
|
||||
base_url = "proxmox-power-button"
|
||||
# The data migration pins extras.0134_owner / virtualization.0052_gfk_indexes,
|
||||
@@ -16,11 +16,13 @@ class ProxmoxPowerButtonConfig(PluginConfig):
|
||||
min_version = "4.5.0"
|
||||
|
||||
# Optional behaviour, overridable via PLUGINS_CONFIG["proxmox_power_button"]:
|
||||
# verify_ssl : verify the Proxmox TLS cert (default False)
|
||||
# verify_ssl : verify the Proxmox TLS cert (default True — set False
|
||||
# only for self-signed lab certs; the API token crosses
|
||||
# this connection, so disabling verification invites MitM)
|
||||
# stop_mode : "shutdown" (graceful ACPI, default) or "stop" (hard kill)
|
||||
# reboot_mode : "reboot" (graceful, default) or "reset" (hard)
|
||||
default_settings = {
|
||||
"verify_ssl": False,
|
||||
"verify_ssl": True,
|
||||
"stop_mode": "shutdown",
|
||||
"reboot_mode": "reboot",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user