mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-03 00:50:51 +00:00
parse_vm_config: allow spaces in values
This time we can't avoid it: nameservers are listed with separating spaces in LXC and we want to stay consistent and use the same format in qemu.
This commit is contained in:
parent
b20c8f7ec6
commit
15cf76988d
@ -2280,7 +2280,7 @@ sub parse_vm_config {
|
||||
} else {
|
||||
warn "vm $vmid - propertry 'delete' is only allowed in [PENDING]\n";
|
||||
}
|
||||
} elsif ($line =~ m/^([a-z][a-z_]*\d*):\s*(\S+)\s*$/) {
|
||||
} elsif ($line =~ m/^([a-z][a-z_]*\d*):\s*(.+?)\s*$/) {
|
||||
my $key = $1;
|
||||
my $value = $2;
|
||||
eval { $value = check_type($key, $value); };
|
||||
|
Loading…
Reference in New Issue
Block a user