Commit Graph

581 Commits

Author SHA1 Message Date
Christian Goll
d4e42b7b83 allow download of named overlay 2022-03-11 14:52:01 +01:00
Christian Goll
5568b082c4 fixed linting 2022-03-11 13:59:20 +01:00
Christian Goll
f279863d7f node list prints combine valuse for node 2022-03-11 12:27:36 +01:00
Christian Goll
ccf5a349be split up BuildAllOverlays 2022-03-11 12:09:17 +01:00
Christian Goll
4264717f3e create just needs one arg 2022-03-11 11:52:47 +01:00
Christian Goll
afac77dbbe allow multiple generic and wwinit overlays 2022-03-11 11:50:38 +01:00
jcsiadal
8827937a9d Update for LSB compliance
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-03-09 07:32:02 +00:00
Gregory Kurtzer
b60cacbd0f Revert "removed unused container child"
This reverts commit 30bc445a89.
2022-03-02 19:53:10 -08:00
Christian Goll
6fd140e7b2 added IpmiWrite to underlyung datastructure 2022-03-02 21:25:20 +01:00
Christian Goll
88631a98d3 fixed linting 2022-03-02 21:24:15 +01:00
Christian Goll
5ac75661c9 Only write to IPMI if this is explictly wanted 2022-03-02 21:24:05 +01:00
Christian Goll
30bc445a89 removed unused container child 2022-03-02 15:39:47 +01:00
Christian Goll
2d223b6b67 fixed syntax for io.Copy 2022-02-28 10:29:03 +01:00
Gregory M. Kurtzer
b11f3f7228 Merge pull request #313 from mslacken/single-netdev
For just one netdev make it the default
2022-02-27 19:02:53 -08:00
Gregory Kurtzer
ce74d6f14a Fix lint error with unused function 2022-02-27 18:59:16 -08:00
Gregory Kurtzer
2927495de1 Fixes to #304 and #311 2022-02-27 18:54:51 -08:00
Gregory Kurtzer
d961f8b8ea Minor merge fix 2022-02-27 18:08:48 -08:00
Gregory Kurtzer
d37caa7f16 Merge branch 'main' of github.com:hpcng/warewulf into jcsiadal-loops 2022-02-27 18:06:34 -08:00
Gregory M. Kurtzer
88832420ca Merge pull request #306 from gmkurtzer/container_kernel_integration
Utilize containerized kernel by default
2022-02-27 18:03:25 -08:00
jcsiadal
bbdfefabd4 Revert filecopy method to old style
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-02-26 22:56:50 +00:00
mslacken
ecba1bdb76 do not always write .wwbackup files
Signed-off-by: mslacken <christian.goll@gmail.com>
2022-02-26 22:39:50 +00:00
Christian Goll
27b28a2a1a fixed linting 2022-02-26 22:39:50 +00:00
Christian Goll
ac1718f1c0 added hosts.ww so wwctl configure hosts is removed 2022-02-26 22:39:50 +00:00
Christian Goll
14b59f987d added IncludeBlock to template functions 2022-02-26 22:39:50 +00:00
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
afc94ebd42 created exports with template 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
3a200a43f7 Added overlay build option to wwctl 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
jcsiadal
59dda4532b Minor fix to tftp
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-02-26 22:39:50 +00:00
jcsiadal
ab28e3a42f Rename FileCopySafe
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-02-26 22:39:50 +00:00
jcsiadal
bfc48f7c72 Clean up show and add safe copy
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-02-26 22:39:50 +00:00
jcsiadal
67b8018d69 TFTP update
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-02-26 22:39:50 +00:00
jcsiadal
e7aac8773c Move configuration work to library
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>

Update to support show correctly

Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-02-26 22:39:50 +00:00
Gregory Kurtzer
ca6a805731 Sort kernel paths to find the biggest version.
Note we can do better as this is an alpha sort, so 9 is always bigger than 10.
2022-02-24 22:10:28 -08:00
Gregory Kurtzer
a72942590f include /lib/firmware in kernel build 2022-02-24 22:05:45 -08:00
Gregory Kurtzer
9edef29ebd Change exclude name to plural 2022-02-24 22:03:01 -08:00
Gregory Kurtzer
99bdc8a35a Fix issue with improper kernel version probe 2022-02-24 22:01:46 -08:00
Gregory Kurtzer
93bcd14e0d Added a debugging comment 2022-02-24 22:01:06 -08:00
Gregory M. Kurtzer
116d217f88 Merge pull request #300 from gmkurtzer/container_exit_clean
Container exit script runner
2022-02-24 17:11:23 -08:00
TerranWorks
b18e0bc0b2 added kernal search path for arch compatibility 2022-02-17 15:13:18 -06:00
Christian Goll
704248f2da For just one netdev make it the default 2022-02-17 10:35:03 +01:00
Gregory M. Kurtzer
11ae6f1700 Merge pull request #312 from Prepultrue/main
Initialise Keys map for overlay templates
2022-02-17 00:04:32 -08:00
Gregory Kurtzer
1203186194 Support kernel overrides from the host or other containers 2022-02-17 07:37:04 +00:00
Gregory Kurtzer
104bc7527d Restored deleted kernel components for overrides 2022-02-17 06:21:40 +00:00
David McFarlane
4a4ca41db0 Initialise Keys map for overlay templates 2022-02-17 16:40:16 +11:00
MatthewHink
a01e8319d2 Allow asset tags in the profile.
Warn and ignore ip addresses and hardware addresses.
2022-02-16 11:41:44 -05:00
Gregory Kurtzer
a6c793caca Fixes for kernel identification within the container 2022-02-16 04:48:17 +00:00