Commit Graph

317 Commits

Author SHA1 Message Date
Gregory Kurtzer
e6a3810d20 Fixing oddball network configuration parameters 2022-02-12 03:08:33 +00:00
Gregory Kurtzer
b1b893861e Fix for faulty boolean logic (ref #292) 2022-02-12 01:53:18 +00:00
Gregory Kurtzer
0cdc8d1492 Moved the static files out of the go internal source 2022-02-12 01:35:14 +00:00
Gregory M. Kurtzer
1eabba2ef7 Merge pull request #266 from mslacken/ipxe-install-fix
removed static embeded pxe files in wwctl
2022-02-11 17:32:16 -08:00
Gregory M. Kurtzer
67ee3bf5f8 Revert "Move configuration code out of wwctl" 2022-02-11 16:20:05 -08:00
Gregory M. Kurtzer
5a7f99af18 Merge pull request #293 from jcsiadal/loops
Move configuration code out of wwctl
2022-02-11 16:03:08 -08:00
Gregory Kurtzer
86db0046b9 "Key" backwards compatibility for overlay templates 2022-02-11 20:17:02 +00:00
jcsiadal
c4938b55c7 Update to support show correctly
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-02-11 18:10:32 +00:00
jcsiadal
496674ab9e Move configuration work to library
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-02-11 17:42:26 +00:00
Gregory Kurtzer
49150c172e Reverse compatibility for keys to tags 2022-02-11 15:36:38 +00:00
Gregory Kurtzer
ffaf794a42 Changed "key" paramaters to tags and cleaned up interface 2022-02-11 05:52:46 +00:00
jcsiadal
378dda2ca1 Rebase updates
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-02-10 19:54:09 +00:00
jcsiadal
c9c8a683a7 Updates specfile to match distro guidelines. Suppots modifying client directory path at build time.
- Support relocating client files at build time (required for LSB compliant nodes)
- OS varable added to perform some make choices
- Saving and exporting the Makefile vars now scripted using list of variables
- Updated specfile to match RH and SUSE requirements and guidelines
- Moved /usr/local/var to /var/local; dynamic files shall not use /usr.
- State files use %sharedstatedir for path (std for SLE and RHEL)
- Release value adjusted to meet different DEB and RPM reqs.

Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-02-10 19:47:50 +00:00
Gregory Kurtzer
93ff88d544 Fix lint 2022-02-10 16:43:04 +00:00
Gregory Kurtzer
b165928699 Change how boolean node members behave (transform two and from strings) 2022-02-10 16:36:14 +00:00
Gregory M. Kurtzer
9344b77c69 Merge pull request #286 from gmkurtzer/minor_fixups
Minor fixups
2022-02-09 12:24:01 -08:00
Gregory Kurtzer
ee84e8d339 rootfstype=rootfs does not need to be defined. 2022-02-09 20:19:20 +00:00
Gregory Kurtzer
b80d41975a Update status before sending data to iPXE/node 2022-02-09 20:11:25 +00:00
Christian Goll
7b2d34f317 make location of buildconf 2022-02-09 10:18:18 +01:00
Michael L. Young
502a970ec8 Add dereference option when importing the kernel.
Due to the nature of provisioning nodes, when there are symbolic
links involved we want to copy the file that they point to instead
of copying the link.
2022-02-08 18:20:18 -05:00
Gregory M. Kurtzer
c201506ac2 Merge pull request #273 from mslacken/automatic-kernel-detection
added option for automatic kernel detection
2022-02-07 16:11:37 -08:00
Christian Goll
1a1e967aba removed static embeded pxe files in wwctl 2022-02-03 11:38:54 +01:00
Christian Goll
113e65e7d7 moved fstab creation for nodes to template 2022-02-03 11:18:23 +01:00
Christian Goll
4eabb957bb added option for automatic kernel detection 2022-02-03 11:12:59 +01:00
Christian Goll
fb1b04c370 Merge pull request #276 from mslacken/exclude-in-etc
moved exclude file location and find uses -xdev
2022-02-03 10:54:51 +01:00
Christian Goll
23104d4c78 added more values for tempalting .ww files in overlays 2022-02-03 10:20:48 +01:00
Christian Goll
9bf492f79b moved exlucde file location and find -xdev 2022-02-03 09:48:11 +01:00
Christian Goll
2e44c51554 check if ./.ww4/exludes exist and use if 2022-01-31 15:05:11 +01:00
Christian Goll
29fc75a2b6 remove default home mount 2022-01-27 11:04:52 +01:00
Niko Kivel
5abb1fc4c7 stale pidfile handling 2022-01-26 11:30:29 +01:00
mslacken
e0ab4e47f4 Added handling of symbolic links in overlays 2022-01-26 11:21:17 +01:00
Gregory M. Kurtzer
bc24cb65e3 Merge pull request #252 from gmkurtzer/asset_key_security
Initial commit of asset key tag security check
2022-01-25 20:05:36 -08:00
Gregory Kurtzer
9e943101ec Always use lowercase for hw addresses 2022-01-26 04:02:30 +00:00
Gregory Kurtzer
2d880aae76 Properly support relative paths to the SYSCONFDIR 2022-01-26 03:46:39 +00:00
Gregory Kurtzer
1bc1d7e34f removed unused function 2022-01-24 01:31:27 +00:00
Gregory Kurtzer
d9c13c3f36 Initial commit of asset key tag security check 2022-01-24 00:32:02 +00:00
Gregory Kurtzer
690d6bb4d2 Minor fix of path.Join() usage 2022-01-19 06:15:11 +00:00
Gregory M. Kurtzer
7fbbb92173 Merge pull request #241 from mslacken/fix-kernel-imprt
fixups for kernel import
2022-01-18 22:13:31 -08:00
Gregory Kurtzer
d35f368b21 Build configs should not be globally writable (thanks Jeremy) 2022-01-19 06:01:33 +00:00
Christian Goll
558f5ef65b fixed kernel import from container 2022-01-18 15:34:29 +01:00
Gregory Kurtzer
b09c9a8b98 Fix so Warewulf can build and lint without make config 2022-01-15 04:34:03 +00:00
Gregory Kurtzer
8da7dd415a Extend and optimize relocatable build config infrastructure 2022-01-15 04:00:18 +00:00
Gregory Kurtzer
be41b79261 Don't use init function to load status DB 2022-01-15 02:27:45 +00:00
jcsiadal
8afe4b1342 Updates to rebase 1/10
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-01-11 07:02:41 +00:00
jcsiadal
7cf6b7155c rm WWROOT from NFS export defaults
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-01-11 05:56:32 +00:00
jcsiadal
5df101cd37 Relocate default to /var/lib; fix default const
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-01-11 05:56:32 +00:00
jcsiadal
b515442872 Fix oci dir & some formatting
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-01-11 05:55:24 +00:00
jcsiadal
35755002ec Fixes needed for successful validation
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-01-11 05:55:20 +00:00
jcsiadal
8e626e9a62 Add config option for shared state dir
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>

Changes default share to /srv/warewulf
Update specfile
Some changes to match Golang standards
2022-01-11 05:52:58 +00:00
Gregory M. Kurtzer
4a8542351f Merge branch 'main' into node_status_monitor 2022-01-05 16:40:53 -08:00