Merge pull request #576 from truenas/mrehan/preserve-nvram-files

NAS-127122 / 24.10 / Preserve nvram files of vms across scale upgrades
This commit is contained in:
M. Rehan
2024-01-31 23:55:30 +05:00
committed by GitHub

View File

@@ -504,6 +504,8 @@ def main():
"etc/machine-id",
"home"
])
if os.path.exists('/var/lib/libvirt/qemu/nvram'):
rsync.append('var/lib/libvirt/qemu/nvram')
run_command([
"rsync", "-aRx",