Jonathon Anderson
c32b752545
Document warewulf.conf:dhcp.template
...
- Closes : #1701
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-06 20:39:44 -07:00
Xu YANG
470f8c65d5
Merge pull request #1707 from anderbubble/remove-syslog
...
Remove `warewulf.conf:syslog`
2025-02-07 12:08:48 +09:00
Xu YANG
9a102c19af
Merge pull request #1708 from anderbubble/ssh-key-default
...
Re-order SSH key types to make ed25519 default
2025-02-07 12:07:06 +09:00
Xu YANG
5f7713cd4c
Merge branch 'main' into image-size
2025-02-07 12:00:50 +09:00
Xu YANG
dd5f083022
Merge branch 'main' into dracut-asset-tag-urlencode
2025-02-07 11:55:03 +09:00
Jonathon Anderson
6bfcfc5fda
Prevent merging of zero-value net.IP fields
...
- Fixes : #1710
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-06 16:43:21 -07:00
Jonathon Anderson
4809641ef6
Re-order SSH key types to make ed25519 default
...
- Fixes : #981
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-05 23:27:29 -07:00
Jonathon Anderson
fa46794d38
New OPTIONS variable for warewulfd.service
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-05 22:16:08 -07:00
Jonathon Anderson
89721c6832
Remove warewulf.conf:syslog
...
- Fixes : #1606
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-05 21:58:39 -07:00
Xu YANG
77bf4c7f98
Merge pull request #1704 from anderbubble/overlay-edit-file-path
...
Create temporary files in overlay directory during `wwctl overlay edit`
2025-02-06 13:11:39 +09:00
Jonathon Anderson
8bf35c7657
Only calculate image chroot size when requested
...
- Fixes : #1504
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-05 20:51:41 -07:00
Jonathon Anderson
05923d4044
Create temporary files in overlay directory during wwctl overlay edit
...
- Fixes : #1473
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-05 20:27:55 -07:00
Jonathon Anderson
6a250f3f96
Set execute permissions for intermediate directories
...
- Fixes : #1655
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-05 20:04:22 -07:00
Christian Goll
60872bd42e
Add completion for profile list
...
- Closes : #1696
Signed-off-by: Christian Goll <cgoll@suse.com >
2025-02-05 19:08:58 -07:00
Jonathon Anderson
ea7cd49f85
Simplify Makefile and spec
...
- explicitly indicate what to include in dist
- prevent duplication of files in specfile
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-05 09:23:06 -07:00
Jonathon Anderson
38791c74ad
Create site overlay directory
...
-Fixes: #1690
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-04 09:03:08 +01:00
Jonathon Anderson
5bc82f97cc
Urlencode asset keys during dracut boot
...
- Fixes : #1610
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-03 13:49:29 -07:00
Jonathon Anderson
6ad7178ad8
Fix a panic in warewulfd when no kernel fields are specified
...
- Fixes : #1689
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-03 03:48:10 -07:00
Christian Goll
e01707173b
Merge pull request #1692 from anderbubble/wwinit-mounts
...
Don't mount /run during wwinit
2025-02-03 14:07:15 +01:00
Jonathon Anderson
7c8a1a4e1b
Specify init=/init when booting with Grub+dracut
...
- Fixes : #1573
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-03 13:56:18 +01:00
Jonathon Anderson
1f607b679b
wwctl node list <--yaml|--json> outputs a map keyed by node name
...
- Fixes : #1667
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-03 12:32:50 +01:00
Jonathon Anderson
8b26088083
Don't attempt to back-up an output file that doesn't exist during upgrade
...
- Fixes : #1671
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-03 12:17:41 +01:00
Jonathon Anderson
e3d90cd323
Prefer parent profile values over child profile values.
...
- Fixes : #1672
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-03 12:16:12 +01:00
Jonathon Anderson
032db29f87
Don't populate NetDevs[].Type or NetDevs[].Netmask during upgrade
...
- Closes : #1661
NetDev defaults don't behave quite the same as standard fields, because they
need to be set per-device. Meanwhile, trying to set a value may erroneously
override values that are on the default profile.
Switch this to a warning rather than attempting to take explicit action.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-03 11:00:12 +01:00
Xu YANG
87b9ad33ff
Merge pull request #1693 from anderbubble/warewulf-recommends-ipmitool
...
Recommend installing ipmitool with Warewulf package
2025-02-03 13:55:15 +09:00
Jonathon Anderson
d56e83ab81
Remove a redundant "Building image" log message after image exec
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-30 16:58:55 -07:00
Jonathon Anderson
4f83885c5b
Show each overlay only once #1675
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-01 13:40:12 +01:00
Jonathon Anderson
9a5d1ec422
Document commas in kernel arguments
...
- Closes : #1679
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-01 13:37:44 +01:00
Jonathon Anderson
f931eb6a0a
Fixed negation for slice field elements during profile/node merge
...
- Fixes : #1677
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-02-01 13:32:10 +01:00
Jonathon Anderson
c946b25bf2
Recommend installing ipmitool with Warewulf package
...
- Fixes : #970
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-30 16:41:40 -07:00
Jonathon Anderson
09503e583c
Don't mount /run during wwinit
...
- Fixes : #1566
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-30 16:28:57 -07:00
Jonathon Anderson
736f9dae48
Use configured warewulf.conf path in wwctl upgrade
...
- Fixes : #1658
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-30 10:55:22 -07:00
Elmar Pruesse
9ebdb8612b
Use sh to parse and exec IPMI command
...
- Fixes : #1663
Signed-off-by: Elmar Pruesse <pruessee@njhealth.org >
2025-01-30 02:14:42 -07:00
Timothy Middelkoop
84ff9800ff
Fix make install when sudo does not set PWD
...
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu >
2025-01-30 01:56:06 -07:00
Timothy Middelkoop
b66a8679c5
Fix default nodes.conf to use the new kernel command line list format
...
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu >
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-30 01:44:53 -07:00
Jonathon Anderson
fce3bc8aff
Release v4.6.0rc1
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-29 04:03:29 -07:00
Christian Goll
755411d3cb
Added warewulfd:/overlay-file/{overlay}/{path...}?render={nodeID}
...
Co-authored-by: Jonathon Anderson <janderson@ciq.com >
Signed-off-by: Christian Goll <cgoll@suse.com >
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-29 00:08:30 -07:00
Jonathon Anderson
51f61f93c4
Refactor kernel args as a slice
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-21 09:52:58 -07:00
Jonathon Anderson
c209dadc1f
Update network interface bonding configuration and documentation
...
- Closes : #1482
- Closes : #1280
This also corrects poor handling of whitespace around the "file" function
throughout the templates, given experiences with the network templates while
implementing the bond behavior. Since the file function actually does produce
output (that is parsed by Warewulf itself) it should not collaps prefix
whitespace.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-21 09:42:27 -07:00
Jonathon Anderson
803e65e9c1
Document building images from scratch with Apptainer
...
- Closes #1485
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-21 09:42:27 -07:00
Jonathon Anderson
875106a79b
Include man pages and command reference in userdocs
...
- Closes : #1488
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-21 09:42:27 -07:00
Timothy Middelkoop
64084a471b
Add Devcontainer support
...
Signed-off-by: Timothy Middelkoop <tmiddelkoop@internet2.edu >
2025-01-24 20:25:00 +00:00
Shane Nehring
6bad4ed8d1
have dracut explicitly configure defined interfaces
...
Signed-off-by: Shane Nehring <snehring@iastate.edu >
2025-01-24 10:04:37 -06:00
Jonathon Anderson
8e8349ccd0
Fix newline handling in /etc/issue
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-19 13:58:19 -07:00
Jonathon Anderson
45a690ca4e
Rename "container" to "image"
...
- Updated `wwctl upgrade` to handle updates
- Maintained `.Container` and `.ContainerName` in tstruct
- Added `ContainerName()` methods to node and profile objects
- Added `--container`, `-C` aliases to wwctl commands (`<node|profile> <add|set>`)
- Added `wwctl container` alias
- Added support for `container_exit.sh` if `image_exit.sh` is not found
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-19 05:54:19 -07:00
Jonathon Anderson
bc52f3b7d7
Recommended changes from review of #1568
...
- Make Resources an `interface{}` to support arbitrary yaml
- Remove `wwctl resource` as incompatible with arbitrary yaml
- Revert changes to host overlay templates
- Remove NFS mount options from warewulf.conf
- Replace NFS support / resource prefix with "fstab" resource
- Move resources to profiles
- Migrate warewulf.conf mounts to nodes.conf with `wwctl upgrade`
- Add documentation
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2025-01-17 10:33:37 -07:00
Christian Goll
847d11611b
creating exports from resource
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2025-01-16 23:00:37 -07:00
Christian Goll
c3833b5ba0
Merge pull request #1631 from ResearchIT/dracut-curl-retry
...
adding retry to curl in wwinit dracut module
2025-01-17 14:32:30 +01:00
Shane Nehring
e1b3a65129
adding change to CHANGELOG.md
...
Signed-off-by: Shane Nehring <snehring@iastate.edu >
2025-01-15 14:56:09 -06:00
Christian Goll
455d9b65e4
Fix panic ObjectIsEmpty for bool
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2025-01-15 13:34:45 +01:00