Commit Graph

58 Commits

Author SHA1 Message Date
Christian Goll
80c92475b0 added backwards compatibilty for default 2022-05-12 11:51:00 +02:00
jcsiadal
9b6b93a5cb Rename default to primary in src
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-05-05 03:13:21 +00:00
jcsiadal
dbd747788f wwctl profile fixes
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-04-19 21:59:34 +00:00
Christian Goll
e29aea8ae3 using stirng for ipmiwrite storage 2022-04-14 12:50:38 +02:00
mslacken
f68c0a3633 add backward compatiblity for old yaml syntax 2022-04-14 09:33:30 +02:00
Christian Goll
95050a44ce add user defined keys for networks/netdev
Every network in the profile and for the nodes can have induvidual keys values
pairs, called Tags, which are propergated to the templates. So they can be used
for things like MTU size like
  `wwct node set node01 --nettag mtu=9000`
and in in ifcfg.xml.ww
```
{{ if $netdev.Tags.mtu -}}
<mtu> {{ $netdev.Tags.mtu }} </mtu>
{{ end -}}
```
2022-04-06 21:36:17 +02:00
jcsiadal
bd3edb9e7f Udated constructors/mods
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-04-04 16:13:09 +00:00
jcsiadal
1fda01fc36 Datastructure update
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-04-04 16:13:09 +00:00
Christian Goll
c0f7ecf357 store the ovelats as yaml list 2022-03-24 19:45:51 +01:00
Christian Goll
55bf1695de initial commit of simple ipv6 support
As soon as in warewulf.conf a value for ipaddr6 is defined
all nodes will get a derived ipv6 address if not the ipv6
is not explicitly set.
2022-03-15 15:57:35 +01:00
Christian Goll
5ac75661c9 Only write to IPMI if this is explictly wanted 2022-03-02 21:24:05 +01: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
Gregory Kurtzer
5a0c13225e Utilize containerized kernel and remove kernel Support 2022-02-15 06:49:24 +00:00
Gregory Kurtzer
e6a3810d20 Fixing oddball network configuration parameters 2022-02-12 03:08:33 +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
Gregory Kurtzer
b165928699 Change how boolean node members behave (transform two and from strings) 2022-02-10 16:36:14 +00:00
Gregory Kurtzer
d9c13c3f36 Initial commit of asset key tag security check 2022-01-24 00:32:02 +00:00
Gregory Kurtzer
9f53bca1bf Various fixes found in testing 2021-12-29 17:16:53 -08:00
Gregory Kurtzer
938511e9cd Merge branch 'main' of github.com:gmkurtzer/warewulf into netdev_refactor 2021-12-28 15:17:21 -08:00
jcsiadal
f7396ae5be Updates to build an RPM
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2021-11-01 11:32:59 -07:00
Gregory Kurtzer
1370932cd3 Introduction of netname functionality for network devices 2021-10-23 07:12:57 -07:00
Christian Goll
83232db4b5 nodes.conf must not be world readable as it contains impipassword 2021-10-13 09:32:19 +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
a82e1b0ea5 Fixed formatting across entire project 2021-08-21 08:04:47 -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 M. Kurtzer
c797c70dd1 Merge pull request #90 from mslacken/wicked
Looks good to me, thanks!
2021-08-20 07:53:58 -07:00
Christian Goll
b27951b59f added binary to create bash completion
also do not bail out, when configs can't be read, still the
2021-08-10 11:15:33 +02: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
54b2164c4e custom paramters 2021-05-10 00:12:13 +02:00
Niko Kivel
dd4c075f50 paramters in node 2021-05-08 19:04:37 +02:00
Gregory Kurtzer
5e53ff1b7d Remove useless "Disable" (ref #40) 2021-04-25 13:41:21 -07:00
Gregory Kurtzer
3e0d48762e code cleanups 2021-04-24 15:00:54 -07: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
Gregory Kurtzer
e5be3d8182 Cleaned init subsystem, Ipmi, SELinux, added Root option, and fixed defaults 2020-12-20 22:41:02 -08:00
Gregory Kurtzer
1161f051f1 fix broken initramfs tmpfs and refactor initramfs init sequence 2020-12-20 11:54:25 -08:00
Gregory Kurtzer
9ff2530c0c Minor fixups from the Warewulf community meeting 2020-12-17 20:19:18 -08:00
Shannon V. Davidson
cb8336be8c Merge branch 'main' of github.com:ctrliq/warewulf into main 2020-12-14 09:14:19 -06:00
Gregory Kurtzer
5c23ef9f94 Fininshed with node discovery and service refactoring 2020-12-13 20:20:03 -08:00
Shannon V. Davidson
643a69b75b Added IpmiGateway in case of separate BMC and control network 2020-12-10 09:52:22 -06:00
Gregory Kurtzer
5c995f9d0f Added Init to datastructure, fixups to container interface, and --setdefault to kernel and container build 2020-12-06 22:29:25 -08:00
Gregory Kurtzer
8c11c2b304 Renamed vnfs to container, finished VNFS and kernel refactoring 2020-12-06 00:47:00 -08:00
Gregory Kurtzer
e80878b240 Changed DomainName to ClusterName 2020-12-03 19:37:52 -08:00
Gregory Kurtzer
ec037228cc Changing node.conf structure and moved controllers out of this config 2020-12-03 17:26:51 -08:00
Gregory Kurtzer
84bf9fbb43 profile and node commands and DB all working as expected now 2020-12-03 13:49:49 -08:00
Gregory Kurtzer
eaf6bb1196 This is a work in progress API shift as the data structure has changed and I'm cleaning the interface. 2020-12-03 07:34:26 -08:00
Gregory Kurtzer
7516cca031 Data format changes and updated API for NodesDB 2020-12-01 23:33:01 -08:00