Apperently the rules in /etc/systemd/network are not
honored by NetworkManager which loads earlier than
systemd-networkd, so adding a rule for NetworkManager
We are pinning version 1.17 for the linting workflow. Go 1.16
has been EOL for almost two years and even EL7 releases have
1.17 available now. Removed 1.16 from our test matrix.
This commit does the following:
* Update the build testing workflow to run on development branch
* Remove go 1.16 and add 1.19 to test build workflow
Signed-off-by: Michael L. Young <myoung@ciq.co>
If a fork is running GH actions, do not create the static
documentation and try to push to the warewulf documentation repo.
Signed-off-by: Michael L. Young <myoung@ciq.co>
Error logging for overlay show rendering incorrectly checked
the overlay name rather than the path to the file. It also
used wwlog (which goes to stderr) to output the render. This
commit replaces explicit args[] references with their named
equivalents from earlier in the function, correcting those
references along the way, and outputs the final render with
fmt.Print.
Commit d8cd6049 introduced erroneous output coming from an
inner function of container show, and (seemingly) erroneously
replaces valid kernel versions with "not found". This commit
fixes both of those issues, and moves the output to the outer
cli function.
I noticed that some wwlog calls included a trailing newline, but others
did not. I tested both in isolation and discovered that the behavior was
consistent regardless of whether a trailing newline was included. I
further confirmed in code that wwlog appends a trailing newline
automatically if it is not present; so a trailing newline is unnecessary
in individual calls.
This commit removes trailing newlines from all calls to make them
consistent. It also replaces two calls to wwlog.Printf. (see #534)
Signed-off-by: Jonathon Anderson <janderson@ciq.co>