Commit Graph

1683 Commits

Author SHA1 Message Date
dependabot[bot]
132f5db0ea Bump github.com/manifoldco/promptui from 0.8.0 to 0.9.0
Bumps [github.com/manifoldco/promptui](https://github.com/manifoldco/promptui) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/manifoldco/promptui/releases)
- [Changelog](https://github.com/manifoldco/promptui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/manifoldco/promptui/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: github.com/manifoldco/promptui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-29 12:59:42 +00:00
Christian Goll
4333ffe904 Merge pull request #748 from JasonYangShadow/issue/690
KERNEL VERSION column is too short
2023-03-29 14:58:44 +02:00
jason yang
fd768145a9 add test case for container list
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-03-29 12:44:12 +00:00
jason yang
6dcd26322a add test case for profile list
Signed-off-by: jason yang <jasonyangshadow@gmail.com>
2023-03-29 10:35:17 +00:00
Christian Goll
7265083ed0 added test for node list
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-03-28 20:56:12 +02:00
jason yang
6f200d65a6 Merge branch 'development' into issue/690 2023-03-28 07:09:33 +00:00
Christian Goll
f4c78d1a05 Merge pull request #755 from mslacken/development
fix linting for disabled batch test
2023-03-24 09:53:54 +01:00
Christian Goll
aee7738be1 fix linting for disabled batch test
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-24 09:52:38 +01:00
Christian Goll
321df0ba94 Merge pull request #754 from olafmersmann/fix_el8-pkgs
Add missing packages to build on EL8
2023-03-24 08:24:07 +01:00
Christian Goll
e680e3d475 Merge pull request #753 from anderbubble/disable-TestBatchPool
Disable TestBatchPool
2023-03-24 06:46:40 +01:00
Brian Clemens
d4c462f42c Merge pull request #752 from anderbubble/userdocs-debugging
Add a userdocs page for using delve to debug tests
2023-03-24 10:16:11 +09:00
Brian Clemens
aa53cf866c Add debugging page to doc index 2023-03-24 10:05:50 +09:00
Olaf Mersmann
b84908b515 Add missing packages to build on EL8
Building on a fresh Rocky Linux 8.7 box gpgme-devel and libassum-devel
in addition to the packages already listed.
2023-03-23 20:26:10 +01:00
Jonathon Anderson
fc362beebc Add a userdocs page for using delve to debug tests
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-03-23 12:57:26 -06:00
Jonathon Anderson
132f14c4c3 Disable TestBatchPool
This test is unreliable due to its dependency on timing. Disabling for now
until a better method is implemented.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-03-23 12:14:36 -06:00
Jonathon Anderson
6fc7c1e889 Merge pull request #721 from mslacken/genconf
added wwctl genconf used to generate completions
2023-03-22 22:05:56 -06:00
jason yang
1a6eec2328 Merge branch 'development' into issue/690 2023-03-23 02:45:03 +00: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
Jonathon Anderson
8c95a57089 Fixes to build process
* Fixed a misspelling of genconfig in Makefile
* Updated completions path in warewulf.spec.in

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-03-22 15:30:33 -06:00
Christian Goll
89f30c4e76 Merge pull request #751 from mslacken/development
use union strategy for CHANGELOG.md
2023-03-22 21:19:17 +01:00
Christian Goll
6b40112175 use union strategy for CHANGELOG.md
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-22 21:18:32 +01: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
Christian Goll
83c875317a Merge pull request #749 from JasonYangShadow/issue/493
add support for resolving absolute path automatically
2023-03-22 12:02:34 +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
ceb7859a85 Merge pull request #712 from hpcng/dependabot/go_modules/development/github.com/spf13/cobra-1.6.1
Bump github.com/spf13/cobra from 1.1.1 to 1.6.1
2023-03-21 08:33:41 +01:00
Christian Goll
32b3d90b62 Merge pull request #729 from hpcng/dependabot/go_modules/development/github.com/creasty/defaults-1.7.0
Bump github.com/creasty/defaults from 1.5.2 to 1.7.0
2023-03-21 08:33:24 +01:00
Christian Goll
d1d1237adf Merge pull request #744 from anderbubble/724-template-extension-fix
Add .ww suffix to 70-ww4-netname.rules
2023-03-21 08:32:57 +01:00
Christian Goll
4fff291172 Merge branch 'development' into 724-template-extension-fix 2023-03-21 08:32:28 +01:00
Christian Goll
0bdfcb1c00 Merge pull request #742 from anderbubble/728-secure-wwinit-warewulf-config
Restrict access to /warewulf/config from overlays
2023-03-21 08:30:28 +01:00
Brian Clemens
2cf8601738 Merge pull request #743 from anderbubble/732-documentation-ghcr 2023-03-21 12:57:50 +09: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
6073354d24 Update documentation to reference ghcr rather than DockerHub
Warewulf sample node images are now built automatically with GitHub CI/CD,
targeting ghcr.io. This updates the documentation to reference that location
rather than DockerHub.

Addresses #732

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-03-20 16:09:05 -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
Jonathon Anderson
1b99cfaaed Merge pull request #740 from anderbubble/node-images
Replace containers with pointer to warewulf-node-images
2023-03-20 10:11:25 -06:00
Jonathon Anderson
5ff2da7331 Replace containers with pointer to warewulf-node-images
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-03-20 10:10:02 -06:00
Christian Goll
699cb3c975 Merge pull request #733 from JasonYangShadow/issue/661
changing a profile always adds an empty default interface
2023-03-20 08:48:11 +01: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
dependabot[bot]
fe765681fe Bump github.com/creasty/defaults from 1.5.2 to 1.7.0
Bumps [github.com/creasty/defaults](https://github.com/creasty/defaults) from 1.5.2 to 1.7.0.
- [Release notes](https://github.com/creasty/defaults/releases)
- [Commits](https://github.com/creasty/defaults/compare/v1.5.2...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/creasty/defaults
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-14 08:13:21 +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
d34e496d42 wwctl node add without global variables
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-08 12:33:05 +01:00
Christian Goll
d3af143a5b main_tests are not working as expected
The global values which store the flags are not regenerated during test

Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-07 17:01:57 +01:00
Christian Goll
07d39c2e49 moved location of defaults.conf
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-07 11:49:09 +01:00
Christian Goll
3367b67b9f added a test for wwctl node add
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-07 09:05:29 +01:00
Christian Goll
a422a1617c added Changelog
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-06 15:53:32 +01:00
Christian Goll
ce43dfa0b7 removed getters as configs must exportable
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-06 10:20:00 +01:00
Christian Goll
b55473e1e4 added new build in vars to rest of binaries
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-03 16:21:44 +01:00
Christian Goll
ca088d123d paths need to be visibale for marshalling
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-03 16:12:53 +01:00
Christian Goll
377702a179 make the configuration to be based in warewulf.conf
defaults will be se by the Makefile

Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-03 16:02:41 +01:00