Skip to content
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.

Fix nil access in kickstart_networking_setup #359

Merged
merged 1 commit into from
Feb 13, 2017

Conversation

ananace
Copy link
Member

@ananace ananace commented Feb 13, 2017

This change fixes issues that might occur when trying to generate kickstart provisioning scripts on hosts without subnets specified.

The exact error this fixes is;

Failure parsing Kickstart default: The snippet 'kickstart_networking_setup' threw an error: undefined method 'gateway' for nil:NilClass.

This change fixes issues that might occur when trying to generate
kickstart provisioning scripts on hosts without subnets specified.
@dLobatog dLobatog merged commit d5263b6 into theforeman:develop Feb 13, 2017
@dLobatog
Copy link
Member

Thanks @Ace13 !

@ares
Copy link
Member

ares commented Feb 13, 2017

Might have even fixed http://projects.theforeman.org/issues/18305, I'll rebase #348 to include it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants