Christian Goll
a36cb23319
added shim/grub find to provision process
...
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
ab52e389f6
Merge pull request #781 from anderbubble/config-refactor
...
Refactor package that handles warewulf.conf
2023-04-26 13:56:03 -06: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
4622153a82
Support subdirectories in ipxe paths
...
Signed-off-by: Jonathon Anderson <janderson@ciq.co >
2023-04-19 14:02:43 -06:00
Christian Goll
a935d5fe77
Merge pull request #727 from hpcng/dnsmasq
...
added experimental dnsmasq support
2023-03-22 12:06:10 +01: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
Christian Goll
ba0dec021a
added experimental dnsmasq support
...
Signed-off-by: Christian Goll <cgoll@suse.de >
2023-03-10 17:08:01 +01:00
Christian Goll
11fa27f3e9
Merge pull request #651 from mslacken/MakeIpxeConfig
...
make ipxe binary source configurable
2023-02-24 15:12:26 +01:00
Jonathon Anderson
35579d6d0a
Emit canonical hostnames first
...
The hosts file man page (`man hosts`) states:
> This file is a simple text file that associates IP addresses with
> hostnames, one line per IP address. For each host a single line should
> be present with the following information:
>
> IP_address canonical_hostname [aliases...]
As such, it seems that the hostname should be first in the list.
This is particularly true for the `warewulf` alias for the server
itself, which is certainly an alias for the canonical hostname.
Signed-off-by: Jonathon Anderson <janderson@ciq.co >
2023-02-21 01:51:09 -07:00
Jonathon Anderson
869dce388c
Fix newline when printing AllNodes
...
Fixes a bug in the debug template that was causing the next node to be
printed on the same line as the last line of the previous node.
Signed-off-by: Jonathon Anderson <janderson@ciq.co >
2023-02-21 01:20:16 -07:00
Christian Goll
32ab50f299
make ipxe binary source configureable
2023-01-24 12:11:11 +01: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
021ae1bad2
Merge pull request #604 from mslacken/NmTemplate
...
Clean NetworkManager template
2022-12-21 21:04:21 +01:00
Christian Goll
e8f06b5d6f
using connection-id instead of devname
2022-12-19 15:38:58 +01:00
Jonathon Anderson
b97b2f3ade
Removed whitespace damage from new debug template
...
Signed-off-by: Jonathon Anderson <janderson@ciq.co >
2022-12-18 21:46:21 -07:00
Jonathon Anderson
2c52700574
New debug overlay with template
...
A new debug overlay template serves as an example of how to access all
template variables which can also be rendered against any node to
display all template variable values.
Signed-off-by: Jonathon Anderson <janderson@ciq.co >
2022-12-16 10:48:47 -07: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
bdd985680c
Merge pull request #539 from mslacken/default-conf
...
Read the defaults for a node from defaults.conf
2022-10-12 21:22:59 +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
wesley800
692effd5c3
remove exit from ssh_setup.*sh
2022-09-19 21:11:45 +08:00
Christian Goll
1c850335ac
add type to network configs
2022-06-22 14:45:56 +02:00
Christian Goll
386ce45990
add softlink of dhcpd.conf in /etc
...
openSUSE based distos and other distros use `/etc/dhcpd.conf` instead of `/etc/dhpd/dhcpd.conf`
2022-06-08 10:06:37 +02:00
Gregory Kurtzer
90b631f161
Added back in DHCP Arch EFI BC (type 7)
2022-05-26 22:14:46 -07:00
Gregory Kurtzer
27ea7f2022
Update to new PXE which should support imgextract
2022-05-26 19:55:00 -07:00
jcsiadal
c09cc80e59
Fix hosts error
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2022-05-26 03:19:18 +00:00
Gregory Kurtzer
a738e8653e
Minor changes to template host file
2022-05-25 14:16:26 -07:00
Gregory Kurtzer
cfce50ba52
Some minor runtime template updates
2022-05-24 21:57:47 -07:00
Gregory Kurtzer
4b2c39cdf8
Merge branch 'refac/provision' of https://github.com/kcdodd/warewulf into kcdodd-refac/provision
2022-05-24 20:36:05 -07:00
Carter Dodd
9c5759c857
Remove new dhcp config options
...
Discussion indicated a need for more general handling of network config.
Avoids adding new options that may become deprecated in the near future.
2022-05-19 19:02:58 -05: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
Carter Dodd
a36467b2a8
Merge upstream
2022-05-13 19:42:18 -05:00