Commit Graph

64 Commits

Author SHA1 Message Date
Jonathon Anderson
b68a0faf6d Remove redundant wwclient startup script
80-wwclient was previously supplanted by 80-wwclient.ww, but the static
version was retained. Meanwhile, the static version can only detect
systemd when it is running, which it isn't during wwinit. This led to
wwclient starting during wwinit and then being killed by systemd.

Closes #1066

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-02-17 02:52:11 -07:00
Xu Yang
085b413d63 Add dns configuration to network overlays
Closes #922

Signed-off-by: Xu Yang <xyang@ciq.com>
2024-02-16 17:19:47 -07:00
Christian Goll
4a2969f298 Merge pull request #1071 from riederd/main
Enable creating a bonding network interface
2024-02-07 09:00:40 +01:00
Xu Yang
9d7365e34d uniform the shebang usage
Signed-off-by: Xu Yang <xyang@ciq.com>
2024-02-06 20:35:23 -07:00
Dietmar Rieder
3e73a79951 Enable creating a bonding network interface 2024-02-06 15:17:39 +01:00
Andreas Henkel
6221e780e6 Update ww4-disks.target.ww
Fixed Prequisite to Requisite
2024-01-29 19:42:34 +01:00
Jonathon Anderson
a1832ad8c1 Complete transfer of Warewulf from HPCng
Warewulf is now being maintained in its own GitHub organization at
github.com/warewulf

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2024-01-26 21:35:04 -07:00
Christian Goll
fc1174c114 better systemd detection
Signed-off-by: Christian Goll <cgoll@suse.com>
2024-01-17 18:02:04 -07:00
Jonathon Anderson
a20f4bbcea Minor formatting fixes for persistent-net template
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-21 23:11:34 -07:00
Jonathon Anderson
b49e770118 Specify persistent-net comment block per-file
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-21 23:10:47 -07:00
Jonathon Anderson
07dbd5b2a7 Only set persistent-net name if device is specified
persistent-net should not use the warewulf interface name as a default device
name because the network configuration scripts don't.

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
2023-12-21 23:09:20 -07:00
Brian Phan
59830dc549 Update file name of rendered file
Signed-off-by: Brian Phan <bphan@ciq.com>
2023-12-21 21:10:40 -07:00
Brian Phan
9fdcdceb04 Update 10-persistent-net.link.ww
Update Warewulf template to generate a file per network device.

Signed-off-by: Brian Phan <bphan@ciq.com>
2023-12-21 21:10:40 -07:00
Christian Goll
183f8e479c Propagate paths to overlays and use for wwclient
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-12-08 21:09:47 -07:00
Christian Goll
354fc168ef Remove trailing space from filename
ww4-disks.target.ww was committed with a trailing space in its filename
which is both incorrect and breaks rendering of the template.

Signed-off-by: Christian Goll <cgoll@suse.com>
2023-11-25 01:15:22 -07:00
Jonathon Anderson
4cf230cadd Merge pull request #946 from mslacken/MTUScript
set MTU in different network confs
2023-10-14 01:42:54 -06:00
Christian Goll
f4ae168f5a set MTU in different network confs
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-10-14 01:00:24 -06:00
Christian Goll
e2603cf8e8 only write ipmi of IpmiWrite is true
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-10-14 00:46:50 -06:00
Christian Goll
d96c55022d Use systemd mount units for mounting ignition
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-08-21 16:19:13 -06:00
Christian Goll
cfbb38d570 Use ignition as a systemd service
simple init.d ignition fails as systemd is needed to set up drivers,
etc.

Signed-off-by: Christian Goll <cgoll@suse.de>
2023-08-21 16:19:13 -06:00
Christian Goll
2cf928d6b7 reboot also without systemd
Signed-off-by: Christian Goll <cgoll@suse.com>
2023-06-27 14:28:16 +02:00
Jonathon Anderson
6428534dc3 Configure ONBOOT with netdev.OnBoot
Closes #644

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-04-20 02:50:47 -06:00
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