Commit Graph

87 Commits

Author SHA1 Message Date
Christian Goll
664fdd3f35 finally add the contents to prometheus 2022-06-08 17:04:30 +02:00
Gregory Kurtzer
c8b6c24d6c Removing compression (again) from initrd PXE 2022-05-26 19:56:04 -07:00
Gregory Kurtzer
27ea7f2022 Update to new PXE which should support imgextract 2022-05-26 19:55:00 -07:00
Gregory Kurtzer
6ccc3ceecb Readded compression to the GET request
This works around an out of memory issue reported in IRC from
Norm Gaywood (thanks Norm!)
2022-05-25 23:10:10 -07:00
Gregory Kurtzer
419cb1487c revert my change to always send compressed image 2022-05-25 14:48:29 -07:00
Gregory Kurtzer
d3e59d55fe Minor change as sending uncompressed images doesn't seem necessary.
This can be reverted if I'm missing something in #423.
2022-05-24 22:16:27 -07:00
Gregory Kurtzer
25293267f2 Added runtime overlay back to default ipxe template with some cleanups 2022-05-24 21:57:27 -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
7ecaae1361 Fix only serve/check Secure for runtime 2022-05-16 12:38:53 -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
Christian Goll
fea148903c Merge pull request #417 from mslacken/pretty-host-overlays
enable host overlays, inform users if not enabled
2022-05-06 16:46:46 +02:00
jcsiadal
d7e309ef1d Fix /opt defaults in warewulf.conf
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-05-05 03:29:53 +00:00
Christian Goll
efb116919f enable host overlays, inform users if not enabled 2022-05-04 10:16:38 +02:00
Christian Goll
e0681148e9 compiling config_defaults, unmarshall all values 2022-04-07 12:43:16 +02:00
jcsiadal
bd3edb9e7f Udated constructors/mods
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-04-04 16:13:09 +00:00
Gregory M. Kurtzer
e783fabbf9 Merge pull request #320 from griznog/container_kernel_integration
Handle KernelOverride conditionally in ipxe scripts
2022-02-27 19:07:55 -08:00
Gregory Kurtzer
d37caa7f16 Merge branch 'main' of github.com:hpcng/warewulf into jcsiadal-loops 2022-02-27 18:06:34 -08:00
Christian Goll
f0075fb94c remved hosts.tmpl as not needed any more 2022-02-26 22:39:50 +00:00
Christian Goll
9b7c0e9f05 added a example for slurm.conf.ww 2022-02-26 22:39:50 +00:00
Christian Goll
c8c2f2ec90 add prometheus example 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
griznog
580d402b57 Make displaying the kernel handle the default case when an override is
not specified.
2022-02-24 13:22:50 -06:00
Gregory Kurtzer
5a0c13225e Utilize containerized kernel and remove kernel Support 2022-02-15 06:49:24 +00:00
Gregory Kurtzer
7f9216bdd8 Added the runtime overlay request to the default PXE template 2022-02-09 20:11:03 +00:00
Gregory M. Kurtzer
f562c28d5e Merge pull request #265 from MatthewHink/mhink-hosts
Fix network name in /etc/hosts. Fixes #247.
2022-02-07 16:02:09 -08:00
MatthewHink
f8f689bc99 Fix network name in /etc/hosts. Fixes #247.
For hosts with ip addresses, the hosts file entry should be:
<ip> <node_name>-<net-name> <node_name>-<network_device>

For the default network interface, the node name is included as well:
<ip> <node_name> <node_name>-<net-name> <node_name>-<network_device>
2022-01-28 10:09:47 -05:00
Christian Goll
acabc491f7 nfs mount option must be defaults 2022-01-27 10:06:08 +01:00
Christian Goll
56fe1355ce runtme overlay can only be downloaded by wwclien 2022-01-26 17:28:08 +01:00
Gregory Kurtzer
84b618fb7b Fixed booting issues with /bin directory existing in overlay. 2022-01-26 01:59:34 +00:00
Gregory Kurtzer
b068c187af Update wwclient to send hwaddr and asset/uuid tags 2022-01-24 01:29:05 +00:00
Gregory Kurtzer
d9c13c3f36 Initial commit of asset key tag security check 2022-01-24 00:32:02 +00:00
Gregory Kurtzer
c0d6a16a6f Remove unused config path options 2022-01-15 04:11:11 +00:00
Gregory Kurtzer
8da7dd415a Extend and optimize relocatable build config infrastructure 2022-01-15 04:00:18 +00:00
jcsiadal
8e626e9a62 Add config option for shared state dir
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>

Changes default share to /srv/warewulf
Update specfile
Some changes to match Golang standards
2022-01-11 05:52:58 +00:00
Gregory Kurtzer
e3d76f01e2 Merge branch 'main' of github.com:hpcng/warewulf into overlay_refactor 2022-01-06 00:37:17 +00:00
Gregory Kurtzer
a0ffc12c9a Put imgextract into a different PXE file until it is tested on ARM
To use this iPXE template do the following:
```
wwctl profile set --ipxe big_image default
```
2021-12-30 17:22:56 +00:00
Gregory Kurtzer
82b276f858 Implement fix for #222 (thanks Griznog!) 2021-12-30 03:44:48 +00:00
Gregory Kurtzer
00d8d42e9d First pass at a rework of the overlay subsystem in Warewulf 2021-12-29 16:11:25 -08:00
Gregory Kurtzer
f745d90c9c Added some fixes to #184 2021-12-28 16:50:07 -08:00
jcsiadal
f7396ae5be Updates to build an RPM
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2021-11-01 11:32:59 -07:00
Gregory M. Kurtzer
dbef20d498 Merge pull request #157 from gmkurtzer/overlay_autoupdate
Update or build overlays on demand
2021-09-30 23:47:55 -07:00
Gregory Kurtzer
238b61a682 Daemon logging to syslog (#152) 2021-09-30 23:40:16 -07:00
Gregory Kurtzer
384c4c0286 Make the overlay auto-update configurable 2021-09-30 23:02:04 -07:00
Gregory Kurtzer
2234532ac8 Add dhcpd lease max time 2021-09-30 23:01:34 -07:00
Gregory Kurtzer
1d48c9ce15 Removed static port delcaration in the dhcpd templates 2021-09-29 22:41:58 -07:00
Gregory Kurtzer
d1bc747cc2 Commented out support for arm32.efi as we don't have that built yet 2021-04-23 20:49:49 -07:00
Brian Clemens
bdf11051be ARM iPXE filenames in dhcpd configuration template 2021-04-23 19:48:48 +09:00
Yong Qin
389118dfa2 Fixed static-dhcpd.conf template. 2021-04-11 17:55:13 -07:00
Gregory Kurtzer
02163769b1 Testing an iPXE fix/suggestion from Ben Allen. (Thanks!) 2021-03-10 15:09:06 -08:00
Gregory Kurtzer
93a2eeaf2c Sleep and reboot on PXE error 2021-02-23 19:52:11 -08:00