Commit Graph

1452 Commits

Author SHA1 Message Date
Jonathon Anderson
48fe714e8e Use WWCONFIGDIR for all relevant install paths
Makefile was checking WWCONFIGDIR in some places. In others it was
duplicating the explicit paths that make up WWCONFIGDIR. Here, update
all such references to always use the WWCONFIGDIR macro.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-12-13 13:51:48 -07:00
Christian Goll
c67699ae30 Update tag to rc2 2022-12-09 17:53:33 +01:00
Christian Goll
c57201898b Merge pull request #588 from anderbubble/changelog-4.4.0rc2
Updated CHANGELOG for 4.4.0rc2
2022-12-09 17:52:46 +01:00
Jonathon Anderson
84bd76ab7e Updated CHANGELOG for 4.4.0rc2
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-12-09 09:27:07 -07:00
Christian Goll
f005fbc601 Merge pull request #555 from elguero/buildtestfixup
[CI/CD] Build Testing Improvement
2022-12-09 09:57:11 +01:00
Christian Goll
d19dc752ff Merge pull request #580 from jtfrey/gzip-fixup
VNFS gzip:  fallback to redirected stdout
2022-12-09 09:56:16 +01:00
Christian Goll
0a83dd4508 Merge pull request #579 from brianphan/ww-shell-env-var
Env var to identify when in container shell
2022-12-09 09:53:45 +01:00
Christian Goll
f8429e4d01 Merge pull request #581 from mslacken/ipxeDefault
need ipxe template in defaults
2022-12-09 09:53:14 +01:00
Christian Goll
c7abc078bf Merge pull request #585 from mslacken/fix-container-list
react on the error accordingly
2022-12-09 09:53:01 +01:00
Christian Goll
b80ad41732 Merge pull request #586 from anderbubble/changelog-4.4.0rc1
Updated CHANGELOG with more detail for all 4.4.0 changes
2022-12-09 09:50:03 +01:00
Christian Goll
c8ea797912 Merge branch 'development' into changelog-4.4.0rc1 2022-12-09 09:49:55 +01:00
Christian Goll
3ece4708cf Merge pull request #587 from anderbubble/whitespace-cleanup
Whitespace cleanup
2022-12-09 09:48:28 +01:00
Jonathon Anderson
813372380c Updated CHANGELOG with more detail for all 4.4.0 changes
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-12-08 19:17:50 -07:00
Jonathon Anderson
78b857a3e4 Whitespace cleanup
Removes trailing whitespace from all source files.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-12-08 18:59:56 -07:00
Christian Goll
241425f525 react on the error accordingly 2022-12-07 15:10:18 +01:00
Brian Phan
b0389e1337 Set WW_CONTAINER_SHELL to Container Name 2022-12-06 09:24:01 -08:00
Jeffrey Frey
17d6448180 Fix unhandled return value from Wait()
Discard return error from proc.Wait() to pass lint tests
2022-11-30 16:08:58 -05:00
Brian Phan
7cd8f030ec Use 1 instead of true 2022-11-30 07:23:13 -08:00
Christian Goll
f7b67b93a3 need ipxe template in defaults 2022-11-30 15:33:07 +01:00
Jeffrey Frey
8c6f85a0a9 Update util.go 2022-11-29 15:13:00 -05:00
Jeffrey Frey
fd1f197468 Update util.go 2022-11-29 15:09:14 -05:00
Jeffrey Frey
52b932081c Scoping issue with err
Use of := inside conditional body overrode scope of return value `err`
2022-11-29 14:40:06 -05:00
Jeffrey Frey
e9d7432e79 Fixup spacing
Tabs, not spaces.
2022-11-29 14:10:16 -05:00
Jeffrey Frey
9c3cc59d85 Missing --keep option, older versions of gzip
Older versions of the `gzip` utility do not understand the `--keep` flag.  If `gzip` is used and initially exits in error with the text "unrecognized option" produced on stderr, use the write-to-stdout behavior for `gzip` and open and attach the desired output file to that command's stdout.
2022-11-29 14:03:58 -05:00
Brian Phan
3e8bd09990 Env var to identify when in container shell 2022-11-29 09:15:09 -08:00
Michael L. Young
07adb4ebc0 Merge branch 'hpcng:development' into buildtestfixup 2022-11-29 08:46:17 -05:00
Christian Goll
149a4d33f4 Merge pull request #577 from mslacken/fixTests
fix tests
2022-11-29 14:33:38 +01:00
Christian Goll
79ed2a33ff added simple test for transformer.go 2022-11-29 14:30:41 +01:00
Christian Goll
53be931f87 fix tests for fransfomer 2022-11-29 10:53:53 +01:00
Christian Goll
f64c91093b Merge pull request #576 from anderbubble/issues/575
Configure interface type and name in ifcfg
2022-11-23 17:39:17 +01:00
Jonathon Anderson
58a7dc062f Configure interface type and name in ifcfg
Closes #575

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-11-23 08:30:02 -07:00
Christian Goll
abeab3ee22 Merge pull request #573 from anderbubble/issues/571
Correct host overlay processing during configure
2022-11-11 19:26:28 +01:00
Jonathon Anderson
15879eb991 Use node.NewInfo constructor in configure hostfile
Also used in overlay, as I was looking there already.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-11-11 11:42:40 -06:00
Jonathon Anderson
037c456bc4 Correct host overlay processing during configure
wwctl configure hostfile was using the /host/ path twice,
causing it to look in the wrong place for /etc/hosts.ww

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-11-11 10:56:07 -06:00
Christian Goll
6e85e6eded Merge pull request #572 from mslacken/fixHosts
added init function for empty NodeInfo
2022-11-11 17:42:43 +01:00
Christian Goll
35529527bb added init function for empty NodeInfo 2022-11-11 14:59:15 +01:00
Christian Goll
385b1569e6 Merge pull request #570 from mslacken/development
updated tag in Makefile
2022-11-09 21:05:36 +01:00
Christian Goll
0f087ce414 Merge branch 'development' of github.com:mslacken/warewulf into development 2022-11-09 21:04:56 +01:00
Christian Goll
eec7c27ea5 updated tag in Makefile 2022-11-09 21:04:33 +01:00
Christian Goll
3ff3773804 Merge pull request #569 from loganharbour/fix_nide
Fix overlay error typos
2022-11-08 18:21:01 +01:00
Logan Harbour
99ec5acb59 Fix typos 2022-11-08 09:53:22 -07:00
Christian Goll
93d26775db Merge pull request #568 from Prepultrue/development
Fix use of uninitialised Tags map
2022-11-01 08:05:37 +01:00
David McFarlane
0d6dcba38a Fix use of uninitialised Tags map 2022-11-01 13:38:19 +11:00
Christian Goll
fff49d345a Merge pull request #563 from anderbubble/ipxe-vlan-cmd
Enable VLAN_CMD in ipxe
2022-10-27 12:12:14 +02:00
Christian Goll
0c2afd04fc Merge pull request #562 from mslacken/nodeFileSave
check if new template file was modified
2022-10-27 12:11:52 +02:00
Christian Goll
5413eb611d removed stray debug line 2022-10-27 12:08:32 +02:00
Christian Goll
00899096c4 Merge branch 'nodeFileSave' of github.com:mslacken/warewulf into nodeFileSave 2022-10-27 12:06:10 +02:00
Christian Goll
721a52239f opening file with twi seperate descriptors 2022-10-27 12:03:10 +02:00
Christian Goll
21f7a1f8c3 fix linting 2022-10-27 11:32:30 +02:00
Jonathon Anderson
dc1ca40f10 Update x86_64 ipxe builds with vlan support
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-10-26 17:01:33 -06:00