$conf->{rootfs} is supposed to be the property string value,
not the parsed property string. since this method is called
only twice (once for retrieving the rootfs information only,
once for retrieving the config only) and the second call
never needs the 'rootfs' part of the configuration, we can
safely not set it instead of introducing ugly workarounds
(e.g. setting a fake volume path or worse).
$conf->{hostname} = $ovz_conf->{hostname}->{value};
- $conf->{rootfs} = { size => $disksize, mp => '/' };
+ my $rootfsinfo = { size => $disksize, mp => '/' };
- return wantarray ? ($conf, $conf->{rootfs}) : $conf;
+ return wantarray ? ($conf, $rootfsinfo) : $conf;
}