Commit f6913d83 authored by Thomas Lamprecht's avatar Thomas Lamprecht Committed by Dietmar Maurer

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: 's avatarThomas Lamprecht <t.lamprecht@proxmox.com>
parent 3b431283
......@@ -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 };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment