mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-03 00:46:00 +00:00
restore: do not restore template flag
A restored VM is never a template. Else we would need to create base images after the restore, and not all storages supports base images. Anyways, the user can easily convert the restored VM into a template later.
This commit is contained in:
parent
ccfb9ffe7e
commit
ca3e4fa4e1
@ -3572,6 +3572,7 @@ sub restore_update_config_line {
|
||||
return if $line =~ m/^lock:/;
|
||||
return if $line =~ m/^unused\d+:/;
|
||||
return if $line =~ m/^parent:/;
|
||||
return if $line =~ m/^template:/; # restored VM is never a template
|
||||
|
||||
if (($line =~ m/^(vlan(\d+)):\s*(\S+)\s*$/)) {
|
||||
# try to convert old 1.X settings
|
||||
|
Loading…
Reference in New Issue
Block a user