mirror of
https://github.com/truenas/scale-build.git
synced 2026-02-15 07:29:12 +00:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user