Commit Graph

119 Commits

Author SHA1 Message Date
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
Carter Dodd
379faad51d Refactor of server, logging, building of images, template updates
* Combine provision response handling, add hwaddr and interface to dhcp
* Simplify stage cases, add backward compatible uri parse
* Move control of image compression to client
* Fix kernel search path for ubuntu, buffer template generation
* Implement cpio and gz as functions, add log named functions
* Generalize fs image creation routine
* Combine daemonLogf to generalized wwlog
* Fix template newline insertion, update dhcp and hosts tmpl
* Update IPXE template to handle non-compressed files
* Update DHCP template to set network interfaces and server IP assignment
* Update DHCP/hosts templates to choose a host-name self-consistently
2022-05-13 16:52:59 -05: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
Gregory M. Kurtzer
8f1ab4f883 Merge pull request #398 from jcsiadal/staticdhcp
Fix host overlay support for static DHCP
2022-04-27 22:13:41 -07:00
jcsiadal
1c0ce014b4 Missed typo
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-04-28 04:38:39 +00:00
jcsiadal
b2ce95d850 Moved to host overlay and added csh support
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-04-28 04:36:47 +00:00
jcsiadal
b67078e537 Fix host overlay support for static DHCP
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-04-18 21:13:09 +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
b25068521a removed old nfs style from config 2022-03-31 16:02:18 +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
Gregory Kurtzer
2927495de1 Fixes to #304 and #311 2022-02-27 18:54:51 -08:00
mslacken
cc59fd1337 updated CHANGELOG and the configuration templates
Signed-off-by: mslacken <christian.goll@gmail.com>
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
e4ac802dca added abort function for templates 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
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