First pass at a rework of the overlay subsystem in Warewulf

This commit is contained in:
Gregory Kurtzer
2021-12-29 16:11:25 -08:00
parent 02a5de3873
commit 00d8d42e9d
62 changed files with 405 additions and 628 deletions

View File

@@ -11,12 +11,13 @@ echo
set base http://{{.Ipaddr}}:{{.Port}}
kernel --name kernel ${base}/kernel/{{.Hwaddr}} || goto reboot
initrd --name container ${base}/container/{{.Hwaddr}} || goto reboot
initrd --name kmods ${base}/kmods/{{.Hwaddr}} || goto reboot
initrd --name system ${base}/overlay-system/{{.Hwaddr}} || goto reboot
kernel --name kernel ${base}/kernel/{{.Hwaddr}} || goto reboot
initrd --name container ${base}/container/{{.Hwaddr}} || goto reboot
initrd --name kmods ${base}/kmods/{{.Hwaddr}} || goto reboot
initrd --name system ${base}/overlay-system/{{.Hwaddr}} || goto reboot
initrd --name runtime ${base}/overlay-runtime/{{.Hwaddr}} || goto reboot
boot kernel initrd=container initrd=kmods initrd=system {{.KernelArgs}} || goto reboot
boot kernel initrd=container initrd=kmods initrd=system initrd=runtime {{.KernelArgs}} || goto reboot
:reboot
echo

View File

@@ -2,7 +2,7 @@ ipaddr: 192.168.200.1
netmask: 255.255.255.0
warewulf:
port: 9873
secure: true
secure: false
autobuild overlays: true
update interval: 60
syslog: false