Closed elcomtik closed 3 years ago
I refactored templates that I've edited for adding HW address. There was some duplicity in Debian templates and blank lines in Redhat templates. I hope you will like the changes.
@elcomtik as a general comment, it makes it quite difficult to review a change if you mix refactoring in with a change in behaviour. IMO this would be better as two separate PRs. It's not too large, so I will review it as it is.
@elcomtik as a general comment, it makes it quite difficult to review a change if you mix refactoring in with a change in behaviour. IMO this would be better as two separate PRs. It's not too large, so I will review it as it is.
I'm sorry for that. Thanks for your patience.
Thanks
Added config options:
Refactored ONBOOT to evaluate bool value in similar way as DEFROUTE
{{ item.onboot | bool | ternary('yes', 'no') }}
Removed empty lines that were inserted into the rendered config file.