Commit Graph

558 Commits

Author SHA1 Message Date
jason yang
40583b4713 fix kernelargs are not printing properly in node list output
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-05-25 01:21:49 +00:00
Christian Goll
27563db856 added genders examples 2023-05-23 16:48:13 +02:00
Jonathon Anderson
712899c4c2 Merge pull request #768 from JasonYangShadow/issue/758
wwlog outputs to stderr rather than stdout
2023-05-16 01:35:33 -06:00
Jonathon Anderson
3bfd22f65a Merge branch 'development' into issue/608 2023-05-16 01:11:32 -06:00
jason yang
911cb4a3b9 squash commits
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-05-15 10:34:36 +00:00
jason yang
869d3d7c76 squash commits
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-05-15 10:31:07 +00:00
jason yang
956e1b3569 squah commits
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-05-15 10:27:52 +00:00
jason yang
f82e686feb add changelog
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-05-12 02:51:22 +00:00
jason yang
f24c4765ed add changelog
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-05-09 05:30:35 +00:00
Jonathon Anderson
6428534dc3 Configure ONBOOT with netdev.OnBoot
Closes #644

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-04-20 02:50:47 -06:00
jason yang
0faada6aae refactor the profile add
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-04-12 10:27:44 +00:00
Christian Goll
5f5724c8a9 Merge branch 'development' into RefactorFlags 2023-04-11 14:17:13 +02:00
jason yang
6f200d65a6 Merge branch 'development' into issue/690 2023-03-28 07:09:33 +00:00
Christian Goll
366113bf65 Merge branch 'RefactorFlags' into development
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:24:47 +01:00
Christian Goll
96644be621 allow UNSET for IP addresses
added more tests for GetFrom
allow UNSET and handle empty hwaddr

Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:17:38 +01:00
Christian Goll
09d14039b0 added Changelog
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:15:44 +01:00
Christian Goll
4a8384dbf3 added Changelog
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:10:21 +01:00
jason yang
522c3478fb use tablewriter to format the output
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-03-23 02:44:59 +00:00
Christian Goll
8f76b81596 Merge branch 'development' into genconf 2023-03-22 12:06:58 +01:00
Christian Goll
a935d5fe77 Merge pull request #727 from hpcng/dnsmasq
added experimental dnsmasq support
2023-03-22 12:06:10 +01:00
jason yang
84bfccba43 add support for resolving absolute path automatically
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-03-22 04:18:50 +00:00
Christian Goll
4fff291172 Merge branch 'development' into 724-template-extension-fix 2023-03-21 08:32:28 +01:00
Jonathon Anderson
225d8a1379 Add .ww suffix to 70-ww4-netname.rules
Fixes #724

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-03-20 16:58:44 -06:00
Jonathon Anderson
4c21a72572 Restrict access to /warewulf/config from overlays
The wwinit overlay populates /warewulf/config with information about the
Warewulf configuration. This includes the IPMI password, which should not be
visible to regular users. This changes the installed permissions of the file to
be readable by root only.

Closes #728

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-03-20 15:16:48 -06:00
Yang Xu
854240075a Merge branch 'development' into issue/661 2023-03-17 18:06:18 +09:00
jason yang
8dc0168412 changing a profile always adds an empty default interface
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-03-17 09:01:51 +00:00
Christian Goll
ba0dec021a added experimental dnsmasq support
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-10 17:08:01 +01:00
Christian Goll
a422a1617c added Changelog
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-06 15:53:32 +01:00
Jonathon Anderson
35579d6d0a Emit canonical hostnames first
The hosts file man page (`man hosts`) states:

> This file is a simple text file that associates IP addresses with
> hostnames, one line per IP address.  For each host a single line should
> be present with the following information:
>
>     IP_address canonical_hostname [aliases...]

As such, it seems that the hostname should be first in the list.

This is particularly true for the `warewulf` alias for the server
itself, which is certainly an alias for the canonical hostname.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-21 01:51:09 -07:00
Jonathon Anderson
db35d5a5e7 Correct header for overlay list -al
Fixes #485

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-01-31 11:59:40 -07:00
Jonathon Anderson
88b740d74d Fixed an incorrect issue association in CHANGELOG 2023-01-18 15:53:21 -07:00
Jonathon Anderson
b5cdfa06fb Fixed typos in CHANGELOG 2023-01-18 14:05:16 -07:00
Christian Goll
895df98c76 Update CHANGELOG.md 2023-01-18 21:31:19 +01:00
Christian Goll
52cddcab25 Merge pull request #647 from Prepultrue/development
Set umask to 0000 while overlays are being built. Fixes #584
2023-01-18 21:25:11 +01:00
Jonathon Anderson
d35fab082a Update changelog in prep for v4.4.0
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-01-18 12:59:41 -07:00
David McFarlane
404710dd2d Update CHANGELOG.md 2023-01-18 14:42:40 +11:00
David McFarlane
950099f9dc Set umask to 0000 while overlays are being built. Fixes #584 2023-01-18 14:34:40 +11:00
Jonathon Anderson
5b50ef724c Fix 'nodes' alias for 'node' not 'profile'
Fixes #609

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-01-06 14:17:46 -07:00
Jonathon Anderson
2c52700574 New debug overlay with template
A new debug overlay template serves as an example of how to access all
template variables which can also be rendered against any node to
display all template variable values.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-12-16 10:48:47 -07:00
Christian Goll
d1abe9ce01 Merge pull request #593 from anderbubble/man-default-conf
New man page: defaults.conf
2022-12-15 12:09:44 +01:00
Jonathon Anderson
83144b0fd1 New man page: defaults.conf
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-12-14 14:37:34 -07:00
Jonathon Anderson
926f94e18e Added a missing PR tag to CHANGELOG
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-12-09 19:35:45 -07:00
Jonathon Anderson
84bd76ab7e Updated CHANGELOG for 4.4.0rc2
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-12-09 09:27:07 -07:00
Jonathon Anderson
813372380c Updated CHANGELOG with more detail for all 4.4.0 changes
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-12-08 19:17:50 -07:00
MatthewHink
7eba3d5166 Add API.md and update CHANGELOG.md for the API. 2022-10-13 06:49:41 -07:00
mslacken
3b5db89513 updated CHANGELOG 2022-10-13 12:52:39 +02:00
Jonathon Anderson
07a43ff164 Update CHANGELOG for excludes fix
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-09-11 19:25:40 -06:00
Jonathon Anderson
e2b5350834 Fix handling of uid and gid arguments during chown
It appears that the intended behavior of overlay chown was changed
in 00d8d42e9, but the argument handling was not updated to reflect
the removal of overlayKind. This led to a crash when only the
uid was specified, and a processing of the gid as the uid
otherwise.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-09-11 00:38:05 -06:00
Jonathon Anderson
4bda8cd29e Don't change unspecified gid to 0 during chown
Specifying 0 for gid as a default during chown causes the
gid to be changed to 0 when left unspecified. Changing the
default value to -1 causes the gid to be left unmodified
when unspecified, which is a less surprising behavior.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-09-10 14:51:56 -06:00
e73kiel
2bb6662c00 Update CHANGELOG.md 2022-06-24 09:36:04 +02:00