Commit Graph

73 Commits

Author SHA1 Message Date
Christian Goll
e4ac802dca added abort function for templates 2022-02-26 22:39:50 +00:00
Christian Goll
3bbc705cef added WarewulfConf for templating 2022-02-26 22:39:50 +00:00
Christian Goll
eeb062cf85 moved dhcpd configuration to host templating 2022-02-26 22:39:50 +00:00
Christian Goll
ad45200f7a extended tstruct for templating
- tstruct is in new datastructure.go
- updated fstab.ww to new syntax
2022-02-26 22:39:50 +00:00
Christian Goll
8d2d10d4ab Implemented BuildHostOverlay
BuildHostVoerlay will walk though OVERLAYDIR/host and copy the contents to the root dir where wwctl is running, so use with care
2022-02-26 22:39:50 +00:00
David McFarlane
4a4ca41db0 Initialise Keys map for overlay templates 2022-02-17 16:40:16 +11:00
Gregory Kurtzer
86db0046b9 "Key" backwards compatibility for overlay templates 2022-02-11 20:17:02 +00:00
Gregory Kurtzer
ffaf794a42 Changed "key" paramaters to tags and cleaned up interface 2022-02-11 05:52:46 +00:00
Gregory Kurtzer
b165928699 Change how boolean node members behave (transform two and from strings) 2022-02-10 16:36:14 +00:00
Christian Goll
113e65e7d7 moved fstab creation for nodes to template 2022-02-03 11:18:23 +01:00
Christian Goll
23104d4c78 added more values for tempalting .ww files in overlays 2022-02-03 10:20:48 +01:00
mslacken
e0ab4e47f4 Added handling of symbolic links in overlays 2022-01-26 11:21:17 +01:00
Gregory Kurtzer
2d880aae76 Properly support relative paths to the SYSCONFDIR 2022-01-26 03:46:39 +00:00
Gregory Kurtzer
d35f368b21 Build configs should not be globally writable (thanks Jeremy) 2022-01-19 06:01:33 +00:00
Gregory Kurtzer
8da7dd415a Extend and optimize relocatable build config infrastructure 2022-01-15 04:00:18 +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
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 Kurtzer
50814b785e Minor update of overlay build output wording 2021-12-29 17:47:06 -08:00
Gregory Kurtzer
dff5567b11 More updates/fixes from testing 2021-12-29 17:30:01 -08:00
Gregory Kurtzer
9f53bca1bf Various fixes found in testing 2021-12-29 17:16:53 -08:00
Gregory Kurtzer
00d8d42e9d First pass at a rework of the overlay subsystem in Warewulf 2021-12-29 16:11:25 -08:00
Gregory Kurtzer
fcd654af80 Fixups for new network device naming 2021-10-23 08:52:43 -07:00
Gregory Kurtzer
1370932cd3 Introduction of netname functionality for network devices 2021-10-23 07:12:57 -07:00
Gregory Kurtzer
c859e880ff Cleanup output during overlay build 2021-09-29 21:29:52 -07:00
Gregory Kurtzer
3137f477bf UI updates to include "overlay kind" 2021-09-13 13:28:44 -07:00
WestleyR
4edc16953e Fix linting issues 2021-09-07 20:48:51 -07:00
Gregory M. Kurtzer
31e9929984 Merge pull request #113 from gmkurtzer/errors
Update Warewulf to use the standard upstream errors package
2021-09-07 20:26:34 -07:00
Gregory Kurtzer
d8ba3b26c2 Changing verbose message to debug + nodename 2021-09-06 15:13:41 -07:00
Gregory Kurtzer
c60be743ba Update sources to use upstream errors package 2021-09-06 14:50:27 -07:00
Gregory Kurtzer
6ce8eedc75 Fixed error on path which would break the file walk 2021-09-06 11:02:22 -07:00
Christian Goll
b7e2dbab64 added function CopyUIDGID for file file ownerships
file ownerships are preserved now in overlays
2021-09-01 11:21:11 +02:00
Michael L. Young
13ad67e56e Add IPMI Port Configuration
This commit adds the ability to configure the default IPMI port for a
profile or per node. If the port is not set, we default to 623.

Updated some areas to default to 'lan' for IPMI interface if it has not
been set.
2021-08-24 19:11:39 -04:00
Gregory Kurtzer
1e637ecb97 Merge branch 'fixups' of github.com:gmkurtzer/warewulf into main 2021-08-20 08:19:11 -07:00
Gregory M. Kurtzer
e523d1d62c Merge pull request #92 from mslacken/ipmi
added configureable ipmiinterface used by ipmitool
2021-08-20 08:07:16 -07:00
Gregory Kurtzer
80e58c08ed Git formatting fixes 2021-08-20 07:58:44 -07:00
Christian Goll
c6b2fc5795 added configureable ipmiinterface used by ipmitool
ipmitool is now searched from $PATH, so that self
compiled ipmitool can be used
2021-08-06 09:22:31 +02:00
Christian Goll
6d267d38e6 added IpCIDR entry for the nodes 2021-07-29 09:24:58 +02:00
Niko Kivel
17f26e8bf1 Params-->Keys 2021-05-11 08:45:09 +02:00
Niko Kivel
c12f257428 removed code debris 2021-05-10 09:55:36 +02:00
Niko Kivel
c6b97543d6 parameters in overlay 2021-05-10 09:14:22 +02:00
Niko Kivel
1c35b84e74 GroupName --> ClusterName 2021-04-28 22:38:39 +02:00
Gregory Kurtzer
4732868966 Slight modification to Yong's pigz conditional 2021-04-25 12:25:34 -07:00
Yong Qin
2e1017ca63 When available, use "pigz" to speedup compression. 2021-04-24 21:00:22 -07:00
Gregory Kurtzer
083c7bbe33 Compress the kmods and overlays 2021-04-24 16:36:22 -07:00
Niko Kivel
dc091263e2 additional functions for templates 2021-03-26 15:20:52 +01:00
Niko Kivel
ffe30a8113 missing netdev.Default in overlay 2021-03-24 15:12:19 +01:00
Ian Kaneshiro
846b45524c Tidy up
- Ran goimports to format code and imports
- Removed unused module from go.mod
- Added .editorconfig to keep formatting standard across contributors
2021-02-16 11:54:12 -08:00
Niko Kivel
4af728d6bf Use SystemOverlay when building system overlay
Use SystemOverlay when building system overlay
2021-01-28 10:02:43 +09:00
Gregory Kurtzer
72b1d8c9d8 UI Updates with a few minor fixups scattered here and there 2021-01-14 20:23:42 -08:00