Commit Graph

42 Commits

Author SHA1 Message Date
Jonathon Anderson
225d8a1379 Add .ww suffix to 70-ww4-netname.rules
Fixes #724

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-03-20 16:58:44 -06:00
Jonathon Anderson
9718711768 Fix variable naming to use valid characters
Fixes #626

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-01-02 21:00:30 -07:00
Christian Goll
e8f06b5d6f using connection-id instead of devname 2022-12-19 15:38:58 +01: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
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
c46d72dae2 Merge pull request #553 from mslacken/static-device
only set new device name if mac address is defined
2022-10-12 21:32:17 +02:00
Christian Goll
552e405560 add NetworkManager infiniband stuff 2022-10-07 09:28:17 +02:00
Christian Goll
7b958984c8 constant net naming scheme and NetworkManager rule
Apperently the rules in /etc/systemd/network are not
honored by NetworkManager which loads earlier than
systemd-networkd, so adding a rule for NetworkManager
2022-10-06 17:37:38 +02:00
Christian Goll
e0b6b4625a only set new device name if mac address is defined 2022-10-05 17:37:56 +02:00
Christian Goll
b1a02c7f63 added overlay for NetworkManager 2022-10-04 10:28:57 +02:00
Christian Goll
1c850335ac add type to network configs 2022-06-22 14:45:56 +02:00
Christian Goll
b03d997cb0 Kernel override/version needs not to bet set 2022-05-19 11:23:52 +02:00
Christian Goll
26c6ff39bc Use Device for Link, fallback to name
If  for the provison network an arbitary name, like overlay is used not default, the Name for the network device was the network name and not the physical device.
2022-05-19 11:11:32 +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
Christian Goll
59eb2a091e various fixes in overlays 2022-04-08 20:25:00 +02:00
Christian Goll
38b166945a reservre meomory for tempalte struct 2022-04-08 17:34:52 +02:00
Christian Goll
5333208efb removed nfs old exports from fstab 2022-04-01 11:27:14 +02:00
Christian Goll
d3b10624b0 Merge branch 'ipv6' 2022-03-18 09:37:23 +01:00
Christian Goll
0ab8f8f10f bring up net wihtout gateway 2022-03-17 18:29:46 +01:00
Christian Goll
208baff560 fix regression on overlay image creation 2022-03-17 12:25:38 +01:00
Christian Goll
2967148084 multifile templates for network configs 2022-03-16 21:12:00 +01:00
Christian Goll
ff9ada1136 fixed el network script 2022-03-15 16:08:13 +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
griznog
e24639a039 Fix typo 2022-03-14 15:55:44 -05:00
Christian Goll
333cf490f2 Fix missing quotation mark 2022-03-10 09:32:11 +01:00
Christian Goll
5ac75661c9 Only write to IPMI if this is explictly wanted 2022-03-02 21:24:05 +01: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
Gregory M. Kurtzer
67ee3bf5f8 Revert "Move configuration code out of wwctl" 2022-02-11 16:20:05 -08: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
f6fb7fa807 Cleaned up provisioned /etc/issue.ww (less is sometimes more) 2022-02-09 23:05:32 +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
Christian Goll
b42322f8f1 fixed type 2022-02-02 17:38:58 +01:00
Christian Goll
d2d00bc705 with CIDR notation 2022-02-02 15:54:26 +01:00
Christian Goll
05f0925910 add some eyecandy 2022-02-02 15:50:27 +01:00
Christian Goll
e1c11a3944 Previous commits set the wrong service Type 2022-01-26 11:31:26 +01:00
Christian Goll
2207ef84d9 removed legacy start of wwclient, added to systemd 2022-01-26 11:30:31 +01:00
Christian Goll
d4eab02b71 added wwclient.service to system overlay 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
77c757b5d4 Always boot the default network device 2022-01-26 03:46:03 +00:00
Gregory Kurtzer
dff5567b11 More updates/fixes from testing 2021-12-29 17:30:01 -08:00
Gregory Kurtzer
00d8d42e9d First pass at a rework of the overlay subsystem in Warewulf 2021-12-29 16:11:25 -08:00