Remove vestigial default.conf components
Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
7
Makefile
7
Makefile
@@ -5,7 +5,7 @@ include Variables.mk
|
||||
include Tools.mk
|
||||
|
||||
.PHONY: build
|
||||
build: wwctl wwclient etc/defaults.conf etc/bash_completion.d/wwctl
|
||||
build: wwctl wwclient etc/bash_completion.d/wwctl
|
||||
|
||||
.PHONY: api
|
||||
api: wwapid wwapic wwapird
|
||||
@@ -65,9 +65,6 @@ man_pages: wwctl $(wildcard docs/man/man5/*.5)
|
||||
gzip --force docs/man/man1/*.1
|
||||
for manpage in docs/man/man5/*.5; do gzip <$${manpage} >$${manpage}.gz; done
|
||||
|
||||
etc/defaults.conf: wwctl
|
||||
./wwctl --emptyconf genconfig defaults >etc/defaults.conf
|
||||
|
||||
etc/bash_completion.d/wwctl: wwctl
|
||||
mkdir -p etc/bash_completion.d/
|
||||
./wwctl --emptyconf genconfig completions >etc/bash_completion.d/wwctl
|
||||
@@ -117,7 +114,6 @@ install: build docs
|
||||
# wwctl genconfig to get the compiled in paths to warewulf.conf
|
||||
test -f $(DESTDIR)$(WWCONFIGDIR)/warewulf.conf || ./wwctl --warewulfconf etc/warewulf.conf genconfig warewulfconf print> $(DESTDIR)$(WWCONFIGDIR)/warewulf.conf
|
||||
test -f $(DESTDIR)$(WWCONFIGDIR)/nodes.conf || install -m 0644 etc/nodes.conf $(DESTDIR)$(WWCONFIGDIR)
|
||||
test -f $(DESTDIR)$(DATADIR)/warewulf/defaults.conf || install -m 0644 etc/defaults.conf $(DESTDIR)$(DATADIR)/warewulf/defaults.conf
|
||||
for f in etc/examples/*.ww; do install -m 0644 $$f $(DESTDIR)$(WWCONFIGDIR)/examples/; done
|
||||
for f in etc/ipxe/*.ipxe; do install -m 0644 $$f $(DESTDIR)$(WWCONFIGDIR)/ipxe/; done
|
||||
install -m 0644 etc/grub/grub.cfg.ww $(DESTDIR)$(WWCONFIGDIR)/grub/grub.cfg.ww
|
||||
@@ -180,7 +176,6 @@ latexpdf: reference
|
||||
cleanconfig:
|
||||
rm -f $(config)
|
||||
rm -rf etc/bash_completion.d/
|
||||
rm -rf etc/defaults.conf
|
||||
|
||||
.PHONY: cleantest
|
||||
cleantest:
|
||||
|
||||
@@ -1,54 +0,0 @@
|
||||
.TH "NODES.CONF" "5"
|
||||
|
||||
.SH NAME
|
||||
|
||||
defaults.conf \- default configuration for Warewulf nodes
|
||||
|
||||
.SH DESCRIPTION
|
||||
.LP
|
||||
|
||||
\fBdefaults.conf\fP defaults default values for node attributes when
|
||||
the attributes are not defined via a node's definition or in any of
|
||||
its profiles. It is a flat text YAML configuration file with a single
|
||||
\fBdefaultnode\fP node. After the definition of this node follows the
|
||||
structure of a node within \fBnodes.pp\fP.
|
||||
|
||||
.SH EXAMPLE
|
||||
|
||||
.EX
|
||||
defaultnode:
|
||||
runtime overlay:
|
||||
- hosts
|
||||
- ssh.authorized_keys
|
||||
- syncuser
|
||||
system overlay:
|
||||
- wwinit
|
||||
- wwclient
|
||||
- fstab
|
||||
- hostname
|
||||
- ssh.host_keys
|
||||
- issue
|
||||
- resolv
|
||||
- udev.netname
|
||||
- systemd.netname
|
||||
- ifcfg
|
||||
- NetworkManager
|
||||
- debian.interfaces
|
||||
- wicked
|
||||
- ignition
|
||||
kernel:
|
||||
args: quiet crashkernel=no vga=791 net.naming-scheme=v238
|
||||
init: /sbin/init
|
||||
root: initramfs
|
||||
ipxe template: default
|
||||
profiles:
|
||||
- default
|
||||
network devices:
|
||||
dummy:
|
||||
type: ethernet
|
||||
netmask: 255.255.255.0
|
||||
.EE
|
||||
|
||||
.SH SEE ALSO
|
||||
|
||||
\fBwwctl(1)\fP, \fBwwctl-nodes(1)\fP, \fBwwctl-profile(1)\fP
|
||||
Reference in New Issue
Block a user