Commit Graph

36 Commits

Author SHA1 Message Date
Jonathon Anderson
22910958b5 Replace all instances of wwlog.Printf
wwlog provides named loggers for each level, which requires
less code and is clearer than wwlog.Printf. The code has
included a mix of both, but this commit consolidates existing
code on the per-level functions.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-09-11 08:00:23 -06:00
Jonathon Anderson
351d5dbf0a More generic defaults for warewulf.conf
Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-08-24 03:58:09 -06:00
Christian Goll
e0681148e9 compiling config_defaults, unmarshall all values 2022-04-07 12:43:16 +02:00
Christian Goll
d13a66e4a4 Merge pull request #350 from hpcng/nfs-cleanup
removed old nfs style from config
2022-04-06 21:29:07 +02:00
jcsiadal
bd3edb9e7f Udated constructors/mods
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-04-04 16:13:09 +00:00
Christian Goll
b25068521a removed old nfs style from config 2022-03-31 16:02:18 +02:00
Christian Goll
3a457ed744 renamed option to 'host overlay' 2022-03-30 17:27:13 +02:00
Christian Goll
2d2fb13423 warewulf.conf option disable host overlays 2022-03-30 17:23:38 +02: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
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
Christian Goll
29fc75a2b6 remove default home mount 2022-01-27 11:04:52 +01:00
Gregory Kurtzer
d35f368b21 Build configs should not be globally writable (thanks Jeremy) 2022-01-19 06:01:33 +00:00
Gregory Kurtzer
8da7dd415a Extend and optimize relocatable build config infrastructure 2022-01-15 04:00:18 +00:00
jcsiadal
7cf6b7155c rm WWROOT from NFS export defaults
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-01-11 05:56:32 +00:00
jcsiadal
5df101cd37 Relocate default to /var/lib; fix default const
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-01-11 05:56:32 +00:00
jcsiadal
b515442872 Fix oci dir & some formatting
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-01-11 05:55:24 +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
f745d90c9c Added some fixes to #184 2021-12-28 16:50:07 -08:00
Gregory Kurtzer
ed57dbfe32 Merge branch 'improve_nfs' of https://github.com/robgjansen/warewulf into robgjansen-improve_nfs 2021-12-28 16:27:03 -08:00
Christian Goll
74da63d079 set .conf files for man_page and bash_completion 2021-11-19 10:02:13 +01:00
Yoshiaki SENDA
0437ec855a Fix lint error: Add error check to defaults.Set (#2) 2021-11-09 15:56:16 -05:00
Yoshiaki SENDA
a6b432062a support structs with default values (#1)
* support struct with default values #183
* omit space
2021-11-08 17:33:31 -05:00
Rob Jansen
a0ba8ead5c Allow configuration of nfs export/mount options 2021-10-25 17:15:09 -04: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
WestleyR
4edc16953e Fix linting issues 2021-09-07 20:48:51 -07:00
Gregory Kurtzer
a82e1b0ea5 Fixed formatting across entire project 2021-08-21 08:04:47 -07:00
Christian Goll
b27951b59f added binary to create bash completion
also do not bail out, when configs can't be read, still the
2021-08-10 11:15:33 +02:00
Ian Kaneshiro
846b45524c Tidy up
- Ran goimports to format code and imports
- Removed unused module from go.mod
- Added .editorconfig to keep formatting standard across contributors
2021-02-16 11:54:12 -08:00
Gregory Kurtzer
72321cf319 Typo fix 2021-02-12 22:58:35 -08:00
Gregory Kurtzer
5e8ef337d0 Add network as part of the warewulfconf (figure it out if undef) 2020-12-19 21:03:01 -08:00
Gregory Kurtzer
4efb27a82f Added support for tftp service and updated service interface and config 2020-12-04 22:14:29 -08:00
Gregory Kurtzer
df96dee6be Added a configurable update interval for WWClient 2020-12-03 19:14:40 -08:00
Gregory Kurtzer
4b285db614 Added a package for Warewulf config 2020-12-03 17:27:29 -08:00