Christian Goll
cfacb4d520
mount /sys and /run during container exec
...
Also unify mounting of sys, run, proc, and dev as occuring within the
chroot and without bind mounts from the host.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-07-04 07:54:55 +02:00
Jonathon Anderson
724c42fb43
Merge pull request #1238 from JasonYangShadow/issue/1235
...
fix the issue that new files created via wwctl overlay edit have permission 755 && removing lines during wwctl overlay edit didn't work
2024-07-03 18:08:47 -06:00
xu yang
371e4d63a6
Fix multiple issues in wwctl overlay edit
...
- Fixes #1236
- Fixes #1235
Signed-off-by: xu yang <xyang@ciq.com >
2024-07-03 17:57:25 -06:00
Jonathon Anderson
12fd9b5ded
Updated CHANGELOG for #1267
...
Since this is already merged, moved it to v4.5.5.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-07-02 13:43:31 -06:00
Christian Goll
b2eefdabf4
Merge pull request #1263 from anderbubble/restore-dhcp-static
...
Restore previous behavior of static dhcp
2024-07-02 09:20:04 +02:00
Christian Goll
4472ca62a9
Merge pull request #1285 from anderbubble/container-build-symlinks-1267
...
Capture "broken" symlinks during container build
2024-07-02 08:01:36 +02:00
Jonathon Anderson
f620b7afe2
Restore previous behavior of static dhcp
...
- Disable dynamic pool when using static dhcp
- Populate configuration of non-primary interfaces for static dhcp
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-07-01 21:43:12 -06:00
Jonathon Anderson
d374fffa3a
Fixed CHANGELOG entry for #1270
...
- Moved to v4.5.5
- Updated wording
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-07-01 21:21:02 -06:00
Jonathon Anderson
b154e7e191
Fix changelog entry for #1249
...
- Moved to v4.5.5
- Updated wording
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-07-01 21:12:50 -06:00
Jonathon Anderson
7abfef6665
Fix CHANGELOG entry for #1266
...
Move entry to v4.5.5 and update wording.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-07-01 21:02:05 -06:00
Jonathon Anderson
75d9ac5fb2
Capture "broken" symlinks during container build
...
- Fixes #1267
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-07-01 17:12:25 -06:00
Christian Goll
d233b4f71d
Merge pull request #1270 from jeburks2/wwclient_dmidecode
...
Asset-tag fixes in dhcpd.conf.ww and wwclient
2024-06-24 16:42:29 +02:00
Christian Goll
75aad7d2ca
set correct asset tag for dnsmasq template
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-06-24 10:42:12 +02:00
Christian Goll
bc4fc2306a
Merge pull request #1249 from JasonYangShadow/issue/1216
...
fix the issue that system/runtime overlays are not auto-rebuilt
2024-06-19 11:53:03 +02:00
xu yang
170d03e751
fix the issue that system/runtime overlays are not auto-rebuilt
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-06-19 09:31:32 +00:00
Josh Burks
dd6b419440
added asset-tag to ipxe script request fix #1110
...
Signed-off-by: Josh Burks <jeburks2@asu.edu >
2024-06-18 09:23:18 -07:00
Josh Burks
a26370c8a2
updated changelog
...
Signed-off-by: Josh Burks <jeburks2@asu.edu >
2024-06-18 09:13:15 -07:00
Josh Burks
790375822c
wwclient: added dmidecode as a method to obtain asset-tag if smbios fails fix #1110 "
...
Signed-off-by: Josh Burks <jeburks2@asu.edu >
2024-06-18 09:08:19 -07:00
Christian Goll
630156d514
Merge pull request #1266 from upsj/fix_excludes
...
Fix excludes
2024-06-17 08:29:56 +02:00
Tobias Ribizel
cc2690bc35
Add contributor
...
Signed-off-by: Tobias Ribizel <mail@ribizel.de >
2024-06-17 00:05:01 +02:00
Tobias Ribizel
2681ccd8fa
Add changelog entry
...
Signed-off-by: Tobias Ribizel <mail@ribizel.de >
2024-06-17 00:04:48 +02:00
Tobias Ribizel
faacb1cc4e
Add test for FindFilterFiles
...
Signed-off-by: Tobias Ribizel <mail@ribizel.de >
2024-06-17 00:01:14 +02:00
Tobias Ribizel
a6a0538f42
Fix FindFilterFiles
...
There are two bugs in the handling of exclusion patterns:
- The paths being checked against patterns are relative,
so leading / need to be stripped
- filepath.Match only does a string comparison,
and the paths we traverse don't include trailing /
Signed-off-by: Tobias Ribizel <mail@ribizel.de >
2024-06-17 00:01:04 +02:00
Jonathon Anderson
d42f0f8f38
Release v4.5.4
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-06-12 14:10:50 -06:00
Christian Goll
3aec44f31d
Merge pull request #1251 from anderbubble/fix-container-exec-arguments
...
Fix regression in container exec argument parsing
2024-06-12 09:27:14 +02:00
xu yang
c28404ea6c
Add test cases for container exec
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-06-11 23:59:36 -06:00
Jonathon Anderson
5bb13c8baf
Fix regression in container exec argument parsing
...
- Fixes #1250
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-06-11 23:57:58 -06:00
Christian Goll
1f274c06b5
Merge pull request #1258 from JasonYangShadow/hotfix_nightly_build
...
fix nightly build invalid format issue
2024-06-12 07:51:59 +02:00
xu yang
6abaa4dfda
fix nightly build invalid format issue
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-06-12 03:48:28 +00:00
Jonathon Anderson
ab5707c013
Merge pull request #1239 from warewulf/dependabot/go_modules/main/github.com/coreos/ignition/v2-2.19.0
...
Bump github.com/coreos/ignition/v2 from 2.15.0 to 2.19.0
2024-06-10 23:39:07 -06:00
dependabot[bot]
797f3bcc2e
Bump github.com/coreos/ignition/v2 from 2.15.0 to 2.19.0
...
Bumps [github.com/coreos/ignition/v2](https://github.com/coreos/ignition ) from 2.15.0 to 2.19.0.
- [Release notes](https://github.com/coreos/ignition/releases )
- [Changelog](https://github.com/coreos/ignition/blob/main/docs/release-notes.md )
- [Commits](https://github.com/coreos/ignition/compare/v2.15.0...v2.19.0 )
---
updated-dependencies:
- dependency-name: github.com/coreos/ignition/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 23:35:58 -06:00
Jonathon Anderson
6e2fe7f79d
Merge pull request #1224 from warewulf/dependabot/go_modules/main/github.com/fatih/color-1.17.0
...
Bump github.com/fatih/color from 1.15.0 to 1.17.0
2024-06-10 23:32:30 -06:00
dependabot[bot]
a2e0982a9a
Bump github.com/fatih/color from 1.15.0 to 1.17.0
...
Bumps [github.com/fatih/color](https://github.com/fatih/color ) from 1.15.0 to 1.17.0.
- [Release notes](https://github.com/fatih/color/releases )
- [Commits](https://github.com/fatih/color/compare/v1.15.0...v1.17.0 )
---
updated-dependencies:
- dependency-name: github.com/fatih/color
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 23:29:03 -06:00
Jonathon Anderson
4b88f36382
Merge pull request #1166 from warewulf/dependabot/go_modules/main/github.com/spf13/cobra-1.8.0
...
Bump github.com/spf13/cobra from 1.7.0 to 1.8.0
2024-06-10 23:27:38 -06:00
dependabot[bot]
fbdbdfe0de
Bump github.com/spf13/cobra from 1.7.0 to 1.8.0
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/spf13/cobra
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 23:26:00 -06:00
Jonathon Anderson
b1a2f07729
Merge pull request #1165 from warewulf/dependabot/go_modules/main/github.com/grpc-ecosystem/grpc-gateway/v2-2.19.1
...
Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.18.0 to 2.19.1
2024-06-10 23:22:39 -06:00
dependabot[bot]
e95f780209
Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.18.0 to 2.19.1
...
Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway ) from 2.18.0 to 2.19.1.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases )
- [Changelog](https://github.com/grpc-ecosystem/grpc-gateway/blob/main/.goreleaser.yml )
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.18.0...v2.19.1 )
---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-10 23:16:53 -06:00
Jonathon Anderson
a0bec6bf60
Merge pull request #1247 from warewulf/revert-1243-hotfix_add_go_tidy
2024-06-08 12:05:57 -06:00
Jonathon Anderson
a96157a4b0
Release v4.5.3
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-06-07 17:35:40 -06:00
Jonathon Anderson
28ba479cf3
Merge pull request #1182 from mslacken/CleanupAfterShell
...
Fix overlay directory location/creation
2024-06-07 14:26:24 -06:00
Jonathon Anderson
2c5e079d33
Refactor overlayDir to container.RunDir()
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-06-07 14:18:19 -06:00
Jonathon Anderson
66a23900e9
Revert "run go mod tidy after go mod vendor"
2024-06-07 11:15:49 -06:00
Christian Goll
bc94076a37
Merge pull request #1243 from JasonYangShadow/hotfix_add_go_tidy
...
run go mod tidy after go mod vendor
2024-06-07 10:18:06 +02:00
xu yang
e5f6fa5a05
run go mod tidy after go mod vendor
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-06-07 05:57:57 +00:00
Christian Goll
0eba837950
use warewulf.conf from parent on child
...
The directories for the overlays needed for the bind
mount are now created under conf.Paths.WWChrootdir/$CONTAINERNAME
with the pattern $CONTAINERNAME-run-xxxxxx. This pattern can be
used as lock, so that there can't be congruent shell/exec calls
to the same container.
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-06-06 16:46:10 -04:00
Christian Goll
dc6db3d565
using the right overlay directory and remove it
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-06-06 16:46:10 -04:00
Jonathon Anderson
88f0b1b50e
Merge pull request #1191 from anderbubble/dracut-initramfs-boot
...
Dracut initramfs boot
2024-06-06 14:41:49 -06:00
Jonathon Anderson
05b951d78d
Support dracut booting with GRUB
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-06-06 16:34:53 -04:00
Jonathon Anderson
9500487ad3
Improve the detection of SELinux capable rootfs
...
initramfs uses tmpfs regardless of whether root=tmpfs in Warewulf. As
such, 90-selinux needs to be updated to detect the actual provenance of
/, rather than the configured setting.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-06-06 03:20:12 -04:00
xu yang
48d6b63030
Add tests for new iPXE template variables
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-06-06 03:20:12 -04:00