From: Dietmar Maurer Date: Thu, 11 Feb 2016 07:08:45 +0000 (+0100) Subject: allow to update rootfs config X-Git-Url: https://git.proxmox.com/?p=pve-container.git;a=commitdiff_plain;h=55ce8db894d5473c87bab49f47aceedc017eac8d allow to update rootfs config --- diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index 5b419bb..0a6b451 100644 --- a/src/PVE/LXC.pm +++ b/src/PVE/LXC.pm @@ -1347,8 +1347,9 @@ sub update_pct_config { $conf->{$opt} = $value; $new_disks = 1; } elsif ($opt eq 'rootfs') { + next if $hotplug_error->($opt); check_protection($conf, "can't update CT $vmid drive '$opt'"); - die "implement me: $opt"; + $conf->{$opt} = $value; } elsif ($opt eq 'unprivileged') { die "unable to modify read-only option: '$opt'\n"; } else {