fix(hostname): rename only the node's own names in /etc/hosts
The rename replaced \b<old>\b, which also matches before "." and "-": "pve.old.lan pve" became "new.dom.old.lan new.dom" and "pve-backup" became "new-backup". Whole whitespace-separated names are renamed now, comments left alone. The live move of /etc/pve/nodes/<old> the issue also asks about is not changed here; it needs a decision on clustered nodes. Refs #21
This commit is contained in:
1 parent
89c70d85be
commit
8f10bef7c5
4 files changed
+101
-12
No files matched your search
@@ -36,7 +36,7 @@
|
||||
"napalm_proxmox/system_mixin.py::ProxmoxSystemMixin.get_disk_smart": 74,
|
||||
"napalm_proxmox/system_mixin.py::ProxmoxSystemMixin.get_packages": 66,
|
||||
"napalm_proxmox/system_mixin.py::ProxmoxSystemMixin.get_users": 51,
|
||||
"napalm_proxmox/system_mixin.py::ProxmoxSystemMixin.set_hostname": 124,
|
||||
"napalm_proxmox/system_mixin.py::ProxmoxSystemMixin.set_hostname": 114,
|
||||
"napalm_proxmox/vm_mixin.py::ProxmoxVMMixin.get_vm_interfaces": 179,
|
||||
"napalm_proxmox/vm_mixin.py::ProxmoxVMMixin.get_vms": 114,
|
||||
"napalm_proxmox/vm_provision_mixin.py::ProxmoxVMProvisionMixin._download_cloud_image": 61,
|
||||
|
||||
Reference in new issue
Block a user