Skip to content

"ip network" in /etc/warewulf/provision.conf is trailing space sensitive #313

@bernstei

Description

@bernstei

I accidentally set
ip address = 10.1.0.0  
with a trailing space in /etc/warewulf/provision.conf. I noticed that there was a message in /etc/dhcp/dhcpd.conf about not having an entry for the node because it was not in the boot network. When I looked in line 288 (in my version, from OpenHPC 2.5) of /usr/share/perl5/vendor_perl/Warewulf/Provision/Dhcp/Isc.pm, I discovered that the test for matching networks if ($node_testnetwork ne $network) { is thrown off by the trailing space in $network. I guess this should be fixed in the code that extract the network value from the config file, but I have no idea where that is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions