fix bug #662: wrong subroutine for parsing startup order

Changed from old, now missing, subroutine parse_startup() to new
pve_parse_startup_order()

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2015-07-16 13:46:28 +02:00 committed by Dietmar Maurer
parent 3b43128359
commit f6913d83c5

View File

@ -1149,7 +1149,7 @@ my $get_start_stop_list = sub {
return if $autostart && !$conf->{'pve.onboot'};
if ($conf->{'pve.startup'}) {
$startup = PVE::JSONSchema::parse_startup($conf->{'pve.startup'});
$startup = PVE::JSONSchema::pve_parse_startup_order($conf->{'pve.startup'});
$startup->{order} = $bootorder if !defined($startup->{order});
} else {
$startup = { order => $bootorder };
@ -1159,7 +1159,7 @@ my $get_start_stop_list = sub {
return if $autostart && !$conf->{onboot};
if ($conf->{startup}) {
$startup = PVE::JSONSchema::parse_startup($conf->{startup});
$startup = PVE::JSONSchema::pve_parse_startup_order($conf->{startup});
$startup->{order} = $bootorder if !defined($startup->{order});
} else {
$startup = { order => $bootorder };