Commit Graph

685 Commits

Author SHA1 Message Date
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
Christian Goll
e36477c59b updated Makefile and CHANGELOG to rc3 2022-05-18 10:31:12 +02:00
Christian Goll
18e2147953 added file uri pattern for container import 2022-04-14 14:25:22 +02:00
Christian Goll
d82fb8bb71 updated changelog 2022-04-07 12:14:57 +02:00
Christian Goll
215c14b69b Updated Changelog 2022-03-18 15:06:33 +01:00
Christian Goll
5094ff2f7d updated Changelog 2022-03-11 15:07:35 +01:00
mslacken
cc59fd1337 updated CHANGELOG and the configuration templates
Signed-off-by: mslacken <christian.goll@gmail.com>
2022-02-26 22:39:50 +00:00
Christian Goll
a3a1e2f034 changelog for netdev and nfs 2022-01-05 09:56:11 +01:00
Brian Clemens
66efa1d70d Add changelog 2021-07-29 13:45:47 +09:00