Commit Graph

1840 Commits

Author SHA1 Message Date
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
Christian Goll
32b4bb74cc added wwctl genconfig warewulfconf print
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-03 14:07:26 +01:00
Christian Goll
78978ad233 added warewulfconf as command line parameter
the environment variable WAREWULFCONF is also recognized

Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-03 11:18:49 +01:00
Christian Goll
bb894df100 added make_defaults to wwctl genconfig defaults
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-02 19:44:48 +01:00
Christian Goll
61960b6c8c moved print_defaults to wwctl genconfig defaults
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-02 15:23:46 +01:00
Christian Goll
786ccdb1e1 generate reference documentation
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-02 13:52:06 +01:00
Christian Goll
94866656a4 generate man pages via sub command
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-02 11:10:20 +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
Christian Goll
ab2139a1fd added wwctl genconf used to generate completions
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-01 16:42:58 +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
Jonathon Anderson
51e84107af Fix code-style dash formatting in userdocs
Closes #704

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-22 00:17:12 -07:00
Jonathon Anderson
d83f953637 Merge pull request #705 from anderbubble/userdocs-reflow-text
Reflow all userdocs text
2023-02-22 00:08:48 -07:00
Jonathon Anderson
ef31b3ddb8 Reflow all userdocs text
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-22 00:05:36 -07:00
Jonathon Anderson
3d7438bc6c Merge pull request #700 from anderbubble/userdocs-capitalize-warewulf
Capitalize Warewulf in userdocs where appropriate
2023-02-21 23:25:51 -07:00
Jonathon Anderson
c9450ddac4 Initial dependabot configuration
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-21 09:45:37 -07:00
Jonathon Anderson
ed7f817932 Capitalize Warewulf in userdocs where appropriate
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-21 09:33:18 -07:00
Jonathon Anderson
1a59080a99 Fix repository owner test in documentation workflow
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-21 09:32:52 -07:00
Jonathon Anderson
47b3fbca07 Quote path expression in documentation workflow
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-21 09:28:11 -07:00
Jonathon Anderson
1ff02044dc Merge pull request #699 from anderbubble/update-ci
Update GitHub CI to build docs and lint
2023-02-21 22:59:04 -07:00
Jonathon Anderson
05d841a329 Merge pull request #686 from mslacken/docUpdate
updated the documentation to match 4.4.0 features
2023-02-21 22:41:13 -07:00
Jonathon Anderson
656eeea2d6 Completed a copy-editing pass of the docUpdate PR
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-21 22:38:25 -07:00
Jonathon Anderson
52ce7d0877 Merge pull request #692 from anderbubble/debug-template-newline
Fix newline handline when printing AllNodes
2023-02-21 15:47:31 -07:00
Jonathon Anderson
2ec38ae3b5 Update GitHub CI to build docs and lint
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-21 09:04:43 -07: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
869dce388c Fix newline when printing AllNodes
Fixes a bug in the debug template that was causing the next node to be
printed on the same line as the last line of the previous node.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-21 01:20:16 -07:00
Jonathon Anderson
cf68113c28 Merge pull request #667 from anderbubble/485-fix-overlay-ls-header
Correct header for overlay list -al
2023-02-18 23:23:13 -07:00
Christian Goll
aec1cb82ae ipmi and kernel fields were missing in ouput 2023-02-16 12:18:04 +01:00