Commit Graph

1683 Commits

Author SHA1 Message Date
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
Christian Goll
7e64e995cb Merge pull request #653 from anderbubble/650-syncuser-error-message
Refactor some variables in syncuser and correct error message
2023-02-03 12:27:15 +01:00
Christian Goll
4f0ad749d1 Merge pull request #639 from mslacken/DefaultNetwork
use default not override for single network entry
2023-02-03 11:54:01 +01:00
Christian Goll
c4afe34df4 Merge pull request #578 from mslacken/podmanBuild
Dockerfile for warewulf host container
2023-02-03 11:53:08 +01:00
Christian Goll
798ac46a07 Merge branch 'anderbubble-4.4.x' 2023-02-03 11:39:45 +01:00
Christian Goll
a2f09d65b7 Merge branch '4.4.x' of https://github.com/anderbubble/warewulf into anderbubble-4.4.x 2023-02-03 11:39:24 +01:00
Jonathon Anderson
104f9197f3 Merge pull request #671 from hpcng/SortNetnames
sort netnames for node list
2023-02-02 20:56:45 -07:00
Jonathon Anderson
963793d96e Merge pull request #669 from mslacken/FixContainerShow
container show will only show valid containers
2023-02-02 20:54:55 -07:00
Jonathon Anderson
6e553992db Merge pull request #672 from mslacken/Fix624
use always @BINDIR@
2023-02-02 20:53:28 -07:00
Jonathon Anderson
37daa19808 Merge pull request #668 from mslacken/FixConfigPerm
fix permission of config.ww
2023-02-02 18:00:58 -07:00
Jonathon Anderson
81c3192988 Fix a grammatical error in a log message 2023-02-02 17:26:26 -07:00
Jonathon Anderson
8d3959bb8d Merge pull request #561 from mslacken/lint-update
updated linter and fixed deprecated stuff
2023-02-02 14:38:50 -07:00
Jonathon Anderson
e8e9c4f3bd Merge branch 'development' into lint-update 2023-02-02 14:38:33 -07:00
Christian Goll
edce6b8140 refactored profile list command 2023-02-02 12:22:07 +01:00
Christian Goll
78d3244ce5 Update warewulfd.service.in 2023-02-01 14:31:42 +01:00
Christian Goll
e4eabd036e build host overlay only if requested 2023-02-01 11:35:00 +01:00
Christian Goll
b32a0e0201 use always @BINDIR@ 2023-02-01 11:15:46 +01:00
Christian Goll
0a8638698d sort netnames for node list 2023-02-01 11:10:51 +01:00
Christian Goll
b5725513b3 container show will only show valid containers 2023-02-01 09:30:27 +01:00
Christian Goll
e1b8988a4e fix permission of config.ww 2023-02-01 09:25:13 +01:00
Jonathon Anderson
cb1726bd40 Minor spelling fix
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-01-31 14:57:27 -07:00
Jonathon Anderson
db35d5a5e7 Correct header for overlay list -al
Fixes #485

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-01-31 11:59:40 -07:00
Christian Goll
05237935eb node option also for shell and respect env $SHELL 2023-01-31 18:05:18 +01:00
Christian Goll
317cd5d4e0 add option for node rendering 2023-01-31 17:45:09 +01:00
Christian Goll
5e70a15611 updated Changelog with default bind mounts 2023-01-31 16:04:08 +01:00
Christian Goll
f5b35f7ef8 do not copy resolv.conf, but mount it 2023-01-31 16:04:08 +01:00
Christian Goll
157c3cd923 getting defaults mounts from warewulf.conf 2023-01-31 16:04:08 +01:00
Christian Goll
d82314460f added support for mounts.conf for container exec 2023-01-31 16:04:07 +01:00
Christian Goll
71a3867bbe create temporary dir for overlayfs not in __child 2023-01-31 16:04:07 +01:00
Christian Goll
6d560ac02a create overlayfs for ephermal mount points 2023-01-31 16:04:07 +01:00
Christian Goll
a4202df508 create overlay of missing mount points 2023-01-31 16:04:07 +01:00
Christian Goll
d30d523866 respect read only rootfs for containers 2023-01-31 16:04:07 +01:00
Christian Goll
7ade65c73f cleaned up container exec __child 2023-01-31 16:04:07 +01:00
Christian Goll
5249931ab0 do not call container exec for shell call 2023-01-31 16:04:07 +01:00
Christian Goll
09ad83b02f add TMPDIR 2023-01-31 16:04:07 +01:00
Christian Goll
55f61a7c18 pass log level to container exec 2023-01-31 16:03:57 +01:00
Jonathon Anderson
7e94c265f0 Refactor some variables in syncuser and correct error message
- Rename some internal variables to make the function easier to follow
- Refactor some code to make it simpler
- Remove some commented-out code
- Fix an error message

Closes #650

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-01-24 22:06:19 -06:00
Christian Goll
32ab50f299 make ipxe binary source configureable 2023-01-24 12:11:11 +01:00
Jonathon Anderson
88b740d74d Fixed an incorrect issue association in CHANGELOG 2023-01-18 15:53:21 -07:00
Jonathon Anderson
b5cdfa06fb Fixed typos in CHANGELOG 2023-01-18 14:05:16 -07:00
Christian Goll
afcdb21ed7 Tag 4.4.0 release 2023-01-18 21:33:04 +01:00
Christian Goll
895df98c76 Update CHANGELOG.md 2023-01-18 21:31:19 +01:00
Christian Goll
2cca2a7662 Merge pull request #640 from mslacken/removeSigs
remove signature from OCI image
2023-01-18 21:29:33 +01:00
Christian Goll
66bfa48fcc Merge pull request #645 from mslacken/resolvKernelVers
resolve symlink for kernel version
2023-01-18 21:27:18 +01:00
Christian Goll
ab9c0534f5 Merge pull request #646 from anderbubble/627-remove-redundant-code
Remove redundant code
2023-01-18 21:25:55 +01:00