Commit Graph

27 Commits

Author SHA1 Message Date
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
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
Christian Goll
32ab50f299 make ipxe binary source configureable 2023-01-24 12:11:11 +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
wesley800
692effd5c3 remove exit from ssh_setup.*sh 2022-09-19 21:11:45 +08: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
Gregory Kurtzer
f05451e130 Fix typo in hosts overlay 2022-05-25 21:58:24 -07:00
Gregory Kurtzer
a738e8653e Minor changes to template host file 2022-05-25 14:16:26 -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
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
b25068521a removed old nfs style from config 2022-03-31 16:02:18 +02: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