we already encode the description in 'write_config',
we do not need to do it here again
this lead to newlines also to be encoded instead of
splitting the description into lines and decode that
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
$conf->{$opt} = $value;
PVE::LXC::write_cgroup_value("cpu", $vmid, "cpu.shares", $value);
} elsif ($opt eq 'description') {
- $conf->{$opt} = PVE::Tools::encode_text($value);
+ $conf->{$opt} = $value;
} elsif ($opt =~ m/^net(\d+)$/) {
my $netid = $1;
my $net = PVE::LXC::Config->parse_lxc_network($value);