Commit Graph

1656 Commits

Author SHA1 Message Date
Christian Goll
c708154924 added new build in vars to rest of binaries
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:09:20 +01:00
Christian Goll
e117464f50 paths need to be visibale for marshalling
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:09:20 +01:00
Christian Goll
4deae97bc8 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-23 11:09:20 +01:00
Christian Goll
f2eff0f7b8 added wwctl genconfig warewulfconf print
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:09:20 +01:00
Christian Goll
6b510865fe added warewulfconf as command line parameter
the environment variable WAREWULFCONF is also recognized

Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:09:20 +01:00
Christian Goll
29a6d39a24 added make_defaults to wwctl genconfig defaults
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:09:20 +01:00
Christian Goll
1a19cfda63 moved print_defaults to wwctl genconfig defaults
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:09:20 +01:00
Christian Goll
fa78d582eb generate reference documentation
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:09:19 +01:00
Christian Goll
ee7bc75bd7 generate man pages via sub command
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:09:19 +01:00
Christian Goll
3526c2bd5f added wwctl genconf used to generate completions
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-23 11:09:19 +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
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
dd3b34a2c6 Merge pull request #716 from anderbubble/testing
Automated tests for batch
2023-03-02 08:52:10 +01:00
Jonathon Anderson
8daa40f929 Update installation.rst 2023-03-01 13:41:02 -07:00
Christian Goll
39e07b9828 Merge pull request #720 from anderbubble/userdocs-rpm
Remove reference to deprecated CIQ repository
2023-03-01 21:25:19 +01:00
Jonathon Anderson
7fed7fd6a2 Remove reference to deprecated CIQ repository
The CIQ repository mentioned in userdocs is expected to be decommissioned soon.
Meanwhile, we have RPMs on the GitHub releases page. This updates the
documentation to point to the project packages.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-28 15:46:29 -07:00
Jonathon Anderson
88feb1a876 Testing for the batch package
* Remove Min function (unused)

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-24 22:47:12 -07:00
Christian Goll
2c9a241643 Merge pull request #683 from hpcng/overlayEdit
make output less scary for new files
2023-02-24 15:15:46 +01:00
Christian Goll
b9810f2c3a Merge pull request #682 from hpcng/RefactorPrimary
set the primary network in NodeInfo not in NetDev
2023-02-24 15:15:24 +01:00
Christian Goll
eae6d195b0 Merge pull request #676 from hpcng/RefactorProfileList
Refactor profile list
2023-02-24 15:14:22 +01:00
Christian Goll
063c05602d Merge pull request #665 from mslacken/ContainerMnt
Container mnt
2023-02-24 15:13:12 +01:00
Christian Goll
11fa27f3e9 Merge pull request #651 from mslacken/MakeIpxeConfig
make ipxe binary source configurable
2023-02-24 15:12:26 +01:00
Christian Goll
e64b370e73 Merge pull request #673 from mslacken/Fix523
build host overlay only if requested
2023-02-24 15:11:31 +01:00
dependabot[bot]
a5d02f193e Bump github.com/spf13/cobra from 1.1.1 to 1.6.1
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.1.1 to 1.6.1.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.1.1...v1.6.1)

---
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>
2023-02-22 09:04:26 +00:00
Christian Goll
7e33fd3022 Merge pull request #701 from anderbubble/dependabot
Initial dependabot configuration
2023-02-22 10:02:54 +01:00
Christian Goll
c831398d72 Merge pull request #693 from anderbubble/canonical-hostname-first
Emit canonical hostnames first
2023-02-22 09:46:16 +01:00
Jonathon Anderson
e353d021d5 Add a missing hyphen in a documented flag 2023-02-22 01:12:29 -07:00
Jonathon Anderson
f2337b804f Merge pull request #708 from anderbubble/userdocs-italics-code
Fix accidental userdocs italics
2023-02-22 01:04:00 -07:00
Jonathon Anderson
10d1edaf81 Fix accidental userdocs italics
Fixes #702

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-22 00:58:00 -07:00
Jonathon Anderson
afd1a412f8 Merge pull request #707 from anderbubble/userdocs-console-and-sudo
Console-style code-block and remove sudo
2023-02-22 00:45:38 -07:00
Jonathon Anderson
ad25a4349b Console-style code-block and remove sudo
Closes #703 #695

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-22 00:41:09 -07:00
Jonathon Anderson
fbbbf12386 Merge pull request #706 from anderbubble/fix-userdocs-dashes
Fix code-style dash formatting in userdocs
2023-02-22 00:22:57 -07:00