From 55ce8db894d5473c87bab49f47aceedc017eac8d Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 11 Feb 2016 08:08:45 +0100 Subject: [PATCH] allow to update rootfs config --- src/PVE/LXC.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- 2.39.2