Project

General

Profile

Actions

Bug #6711

closed

bootdisk seems to only support static networking

Added by Dominic Cleal over 10 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1120762
Description of problem:

This is probably more wide spread than just bootdisk, but the following template:

https://github.com/theforeman/foreman/blob/develop/app/views/unattended/kickstart/iPXE.erb

seems to only support static networking.

<% static = @host.token.nil? ? '?static=yes' : '&static=yes' -%>

seems to indicate that static networking would be used in all cases. In my case I did not have a subnet defined so the request to the kickstart attempted to use static networking and failed with 'undefined method mask for nil'.

How reproducible:
Always

Steps to Reproduce:
1. Create a host and do not specify a subnet (because its not needed)
2. Attempt to provision a system with bootdisk

Actual results:
Will fail.

Expected results:
Removing the static information seems to make it work just fine.

Additional info:


Related issues 1 (0 open1 closed)

Blocked by Foreman - Feature #5458: Make setting static IP more user friendlyClosedMarek Hulán04/25/2014Actions
Actions

Also available in: Atom PDF