Without this patch, restoring a vzdump backup fails. --- src/PVE/LXC.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index d1a4ea6..05ab166 100644 --- a/src/PVE/LXC.pm +++ b/src/PVE/LXC.pm @@ -1090,7 +1090,8 @@ sub update_pct_config { } elsif ($opt eq 'description' || $opt eq 'onboot' || $opt eq 'startup') { delete $conf->{$opt}; } elsif ($opt eq 'nameserver' || $opt eq 'searchdomain' || - $opt eq 'tty' || $opt eq 'console' || $opt eq 'cmode') { + $opt eq 'tty' || $opt eq 'console' || $opt eq 'cmode' || + $opt eq 'arch' || $opt eq 'ostype') { delete $conf->{$opt}; push @nohotplug, $opt; next if $running; @@ -1134,7 +1135,8 @@ sub update_pct_config { $conf->{$opt} = $value ? 1 : 0; } elsif ($opt eq 'startup') { $conf->{$opt} = $value; - } elsif ($opt eq 'tty' || $opt eq 'console' || $opt eq 'cmode') { + } elsif ($opt eq 'tty' || $opt eq 'console' || $opt eq 'cmode' || + $opt eq 'arch' || $opt eq 'ostype') { $conf->{$opt} = $value; push @nohotplug, $opt; next if $running; -- 2.1.4 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel