mirror of
https://github.com/truenas/scale-build.git
synced 2026-02-15 07:29:12 +00:00
Preserve nvram files of vms across scale upgrades
This commit is contained in:
@@ -504,6 +504,8 @@ def main():
|
|||||||
"etc/machine-id",
|
"etc/machine-id",
|
||||||
"home"
|
"home"
|
||||||
])
|
])
|
||||||
|
if os.path.exists('/var/lib/libvirt/qemu/nvram'):
|
||||||
|
rsync.append('var/lib/libvirt/qemu/nvram')
|
||||||
|
|
||||||
run_command([
|
run_command([
|
||||||
"rsync", "-aRx",
|
"rsync", "-aRx",
|
||||||
|
|||||||
Reference in New Issue
Block a user