Bug #6711
closedbootdisk seems to only support static networking
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:
Updated by Dominic Cleal almost 11 years ago
- Blocked by Feature #5458: Make setting static IP more user friendly added