Jonathon Anderson
a1832ad8c1
Complete transfer of Warewulf from HPCng
...
Warewulf is now being maintained in its own GitHub organization at
github.com/warewulf
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-01-26 21:35:04 -07:00
Jonathon Anderson
8321193645
Refactor and document config/datastructure
...
Also adjusted case for initialisms (e.g., DHCP, TFTP, NFS).
Signed-off-by: Jonathon Anderson <janderson@ciq.co >
2023-04-19 14:02:43 -06:00
Jonathon Anderson
0b3e862bea
Remove trailing newline from wwlog
...
I noticed that some wwlog calls included a trailing newline, but others
did not. I tested both in isolation and discovered that the behavior was
consistent regardless of whether a trailing newline was included. I
further confirmed in code that wwlog appends a trailing newline
automatically if it is not present; so a trailing newline is unnecessary
in individual calls.
This commit removes trailing newlines from all calls to make them
consistent. It also replaces two calls to wwlog.Printf. (see #534 )
Signed-off-by: Jonathon Anderson <janderson@ciq.co >
2022-09-15 12:38:03 -06:00
Christian Goll
6cc58fcfff
Merge pull request #534 from anderbubble/wwlog-printf-cleanup
...
Replace all instances of wwlog.Printf
2022-09-14 08:18:44 +02:00
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
Christian Goll
ed21052462
readded configure hostfile command
2022-06-27 11:50:27 +02:00
Gregory Kurtzer
2927495de1
Fixes to #304 and #311
2022-02-27 18:54:51 -08:00
Christian Goll
ac1718f1c0
added hosts.ww so wwctl configure hosts is removed
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
jcsiadal
e7aac8773c
Move configuration work to library
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
Update to support show correctly
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2022-02-26 22:39:50 +00:00
Gregory M. Kurtzer
1eabba2ef7
Merge pull request #266 from mslacken/ipxe-install-fix
...
removed static embeded pxe files in wwctl
2022-02-11 17:32:16 -08:00
Gregory M. Kurtzer
67ee3bf5f8
Revert "Move configuration code out of wwctl"
2022-02-11 16:20:05 -08:00
jcsiadal
496674ab9e
Move configuration work to library
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2022-02-11 17:42:26 +00:00
MatthewHink
ae149f3e36
Fix hardcoded path in test. Use the configuration setting.
2022-02-10 10:12:03 -05:00
Christian Goll
1a1e967aba
removed static embeded pxe files in wwctl
2022-02-03 11:38:54 +01:00
Christian Goll
113e65e7d7
moved fstab creation for nodes to template
2022-02-03 11:18:23 +01:00
Christian Goll
29fc75a2b6
remove default home mount
2022-01-27 11:04:52 +01:00
MatthewHink
51798e483c
Missing hyphen in dhcp template path. Unit tests.
...
This is a single character bug fix.
Broke this out into a function for testing.
2022-01-25 18:39:42 -05:00
Christian Goll
22f56a8665
removed leading /etc for key location
...
Signed-off-by: Christian Goll <cgoll@suse.de >
2022-01-19 15:14:10 +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
8afe4b1342
Updates to rebase 1/10
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2022-01-11 07:02:41 +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
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
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
jcsiadal
0b93d6c277
Update help
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2021-11-08 11:36:21 -08:00
Rob Jansen
a0ba8ead5c
Allow configuration of nfs export/mount options
2021-10-25 17:15:09 -04:00
Rob Jansen
9b5c13c824
Honor the enabled option for nfs mounts
2021-10-25 17:15:09 -04:00
Gregory Kurtzer
1d48c9ce15
Removed static port delcaration in the dhcpd templates
2021-09-29 22:41:58 -07:00
WestleyR
4edc16953e
Fix linting issues
2021-09-07 20:48:51 -07:00
Gregory Kurtzer
74c3c5e816
Cleanups to configure --all command
2021-04-24 16:03:31 -07:00
Gregory Kurtzer
19d4fec376
Remove persist option from configure commands
2021-04-23 21:06:57 -07:00
Gregory Kurtzer
a937d9a311
Dropped the arm64.efi file to the file system
2021-04-23 20:49:29 -07: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
Niko Kivel
d1f80662a6
Fix configure hosts show emptying /etc/hosts and setpersist CLI variable in configure hosts
...
- Only open `/etc/hosts` when write intended
- Correct `SetPersist` CLI variable
2021-01-28 19:41:12 +09:00
Niko Kivel
70735c144f
dhcpPersist variable, update wwctl services to wwctl configure in default confs
...
* fixed wrong variable for kernel arguments
* fixed wrong variable for persistence
* fixed recreate command hint
2021-01-27 23:36:59 +09:00
Gregory Kurtzer
72b1d8c9d8
UI Updates with a few minor fixups scattered here and there
2021-01-14 20:23:42 -08:00
Shannon V. Davidson
c43fcededc
Back up /etc/hosts and allow local changes
2020-12-22 23:08:35 -06:00
Gregory Kurtzer
1c33650a80
Configure root and user's ssh keys as well as hosts keys
2020-12-21 21:11:40 -08:00
Gregory Kurtzer
d9b21df38e
Include the NFS configure command
2020-12-19 21:05:44 -08:00
Gregory Kurtzer
f76c663041
Automatically configure NFS and add a fstab in the system overlay
2020-12-19 21:05:15 -08:00
Gregory Kurtzer
5ec1988029
Use the new network instead of doing this logic in the CLI
2020-12-19 21:03:44 -08:00
Gregory Kurtzer
668fbb8fb1
Add new configure commands
2020-12-19 00:40:54 -08:00
Gregory Kurtzer
9889bbd92c
Configure ssh keys
2020-12-19 00:40:40 -08:00
Gregory Kurtzer
2ac2625b29
Add basic NFS configure command template
2020-12-19 00:40:05 -08:00
Gregory Kurtzer
7af8b03cf7
Add ability to configure host file on the controller node
2020-12-19 00:39:19 -08:00
Gregory Kurtzer
69e6ffaad9
Starting configure CLI for hosts and nfs
2020-12-18 22:51:17 -08:00
Gregory Kurtzer
13fad167a4
Starting ssh configure scripts
2020-12-15 21:29:28 -08:00
Gregory Kurtzer
62a1abaab3
Cleanups and minor fixups
2020-12-13 22:45:08 -08:00