Project

General

Profile

Actions

Bug #19293

open

Provide static network credentials only for static subnets in kexec

Added by Lukas Zapletal almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Discovery plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

We currently always provide static network credentials to kexec template:

"append": "ks=<%= foreman_url('provision') + "&static=yes" > kssendmac nicdelay=5 <= "ip=#{ip} netmask=#{mask} gateway=#{gw} dns=#{dns} ksdevice=#{mac} BOOTIF=#{bootif} nomodeset #{append}" %>",

But this does not always apply, some users prefer to use PXE-less discovery on DHCP networks, in this case gateway/dns/mask information is missing and Anaconda errors out failing to configure network. We should only do this when setting for subnet is static.

No data to display

Actions

Also available in: Atom PDF