diff options
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index be0c9e84c..4d4799be5 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -906,7 +906,8 @@ sub generate_automatic_stage1_params { if ($ENV{PROXY}) { push @ks, proxy_host => $ENV{PROXY}, proxy_port => $ENV{PROXYPORT}; } - push @ks, interface => first(values %{$o->{intf}})->{DEVICE}; + my ($intf) = values %{$o->{intf}}; + push @ks, interface => $intf->{DEVICE}; if ($intf->{BOOTPROTO} eq 'dhcp') { push @ks, network => 'dhcp'; } else { |