Skip to content

use lineinfile

The line this replaces does not match anything. At least in CumulusLinux 4.2, the line should be this:

#Banner none

rather than

#Banner /etc/issue.net

I suspect this line used to match what this replace is looking for, but it doesn't now. Anyway, lineinfile should work correctly in both conditions.

Edited by Cory Schwartz

Merge request reports