Commit Graph

1627 Commits

Author SHA1 Message Date
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
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
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
Christian Goll
466d141cf4 reworded the overlay section 2023-02-16 08:59:31 +01:00
Christian Goll
cb06dc8ba0 described syncuser
close #680
close #483
2023-02-15 09:26:57 +01:00
Christian Goll
269db165d3 document --ipmiwrite
close #616
close #643
2023-02-15 08:43:07 +01:00
Christian Goll
d614db5110 updated the configuration to match 4.4.0 features
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-02-14 15:48:06 +01:00
Christian Goll
77352fe36f removed unused flag for import 2023-02-13 12:27:47 +01:00
Christian Goll
5ed711490d remove list files option from edit 2023-02-13 11:25:35 +01:00
Christian Goll
d91f552473 make output less scary for new files 2023-02-13 11:11:19 +01:00
Christian Goll
c6b65bc853 set the primary network in NodeInfo not in NetDev
Prior the primary was a boolean attribute of NetDev, so several
NetDevs could have been primay. Setting is as a sting in NodeConf
assures that only one network could be primary.
If no primary network is set, a valid altvalue will be set.
2023-02-10 10:46:01 +01:00
Christian Goll
d234f2744b Merge pull request #679 from anderbubble/remove-static-dhcp-example
Remove static-dhcp example
2023-02-08 07:32:49 +01:00
Jonathon Anderson
18c89d7a6e Remove static-dhcp example
The original intent of this example appears to now be included in the real /
default dhcp template included in the host overlay. If I'm understanding
correctly, the presence of this example is just a source of confusion now. (I
previously directed someone to use this example config, overwriting what's in
the default overlay, because I didn't realize that static-dhcp functionality
was just a configuration parameter away.)

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-02-07 16:11:56 -07:00
Christian Goll
3eaeac46d2 use canonical os.TempDir 2023-02-03 15:39:00 +01:00
Christian Goll
80687f9475 removed mounts.conf and check of env shell 2023-02-03 15:15:41 +01:00