Gregory M. Kurtzer
4d44d3a299
Merge pull request #438 from kcdodd/fix/srvdisco
...
Fix server thread safety of discoverable node and overlay build
2022-06-09 22:18:23 -07:00
Gregory Kurtzer
3cb59b89ea
Very minor fix to force minimum args for ssh
2022-06-08 21:43:31 -07:00
Gregory M. Kurtzer
b1e76d2519
Merge pull request #442 from gmkurtzer/4.3.0-ssh
...
Add feature to use wwctl to spawn ssh commands
2022-06-08 21:16:13 -07:00
Gregory M. Kurtzer
1fb8ebd250
Merge pull request #444 from mslacken/fix-remove
...
Fix removal of values
2022-06-08 12:09:05 -07:00
Christian Goll
28de9f5220
addnil to remove option
2022-06-08 16:20:17 +02:00
Christian Goll
04551ef264
for removing a value an empty string is needed
2022-06-08 16:16:52 +02:00
Christian Goll
95e03b3df4
get arguments for show --render right
2022-06-08 15:56:10 +02:00
Christian Goll
69c058f106
added bash completion for overlay commands
2022-06-08 15:49:55 +02:00
Christian Goll
53667157c5
parse not own command but show --render
2022-06-08 15:36:20 +02:00
Christian Goll
2f4757600d
added quiet option
2022-06-08 15:10:47 +02:00
Christian Goll
312596276e
Add source for parse
2022-06-08 15:10:47 +02:00
Christian Goll
98e085c6f2
Trim 'ww' suffix on output
2022-06-08 15:10:46 +02:00
Christian Goll
9e5b2d1aa3
added the wwctl overlay parse command
...
The `wwctl overlay parse -n NODE FILE` will interpret the given overlay file and print it stdout, via wwlog.PRINTF.
The overlay code had to be refactored for this, but hopefully this makes the code a bit more readable. Also the tstruct has not its own initilization code.
2022-06-08 15:10:46 +02:00
Christian Goll
dfe3f907b9
moved TemplateStruct init to own function
2022-06-08 15:10:43 +02:00
Christian Goll
1b02c89ca7
moved overlay parsing to own function
2022-06-08 15:08:43 +02:00
Christian Goll
ecea7a949f
create symlink if target exists
2022-06-08 10:56:42 +02:00
Gregory M. Kurtzer
a641647ba3
Merge pull request #440 from aspfate/tftp-conf
...
can disable tftp services with warewulf.conf
2022-06-07 20:41:27 -07:00
Gregory Kurtzer
3eabf47fc6
Fix dryrun/show for ssh command
2022-06-07 20:34:26 -07:00
Gregory Kurtzer
b4ef712166
Add parallel ssh capability
2022-06-07 20:28:25 -07:00
Jean-Baptiste Denis
78144ba760
Correct typo in log messages
2022-06-07 16:51:03 +02:00
Carter Dodd
7eae65e13f
Add process max reserve
2022-06-06 17:43:33 -05:00
Carter Dodd
3242d2998e
fixups
2022-06-05 17:37:23 -05:00
Carter Dodd
30ba916703
Move overlay build logic to util, add limit to spawned processes
2022-06-05 17:28:14 -05:00
Carter Dodd
97c24e22f7
fixup for backward compatible case
2022-06-04 12:13:13 -05:00
Carter Dodd
f14f339576
fixups
2022-06-04 11:42:16 -05:00
Carter Dodd
fc8d3863d8
use wwctl to re-build provision overlays, update to pass overlaynames
2022-06-04 11:14:48 -05:00
王子丹
b1b6c4a4d2
can disable tftp services with warewulf.conf
2022-06-03 21:07:45 +08:00
Carter Dodd
7caabc439d
separate safe/unsafe db operations
2022-06-02 22:22:19 -05:00
Carter Dodd
04fb854aa7
fixup import
2022-06-02 20:20:03 -05:00
Carter Dodd
95ca053960
Lock server node db when updating discoverable node
2022-06-02 20:06:34 -05:00
Gregory Kurtzer
27ea7f2022
Update to new PXE which should support imgextract
2022-05-26 19:55:00 -07:00
Gregory Kurtzer
bf9ca54b8e
Don't read in binary data blobs to memory before sending to HTTP writer
2022-05-25 23:11:26 -07:00
Gregory Kurtzer
8717b91938
Avoid container build if exit non-zero
2022-05-25 14:46:16 -07:00
Gregory Kurtzer
e188edcf7a
gofmt cleanup
2022-05-25 14:17:01 -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
118f20b01a
Check error on init logging
2022-05-14 00:22:19 -05:00
Carter Dodd
42cc91162d
Fix error handling in goroutine
2022-05-13 23:03:04 -05:00
Carter Dodd
a27be52e3f
Fix unhandled errors
2022-05-13 22:33:29 -05:00
Carter Dodd
a36467b2a8
Merge upstream
2022-05-13 19:42:18 -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
8e88ac12e0
Merge pull request #404 from mslacken/only-build-assigned-overlays
...
only build assigned overlays
2022-05-13 10:06:19 +02:00
mslacken
01f2f4fc99
filter out nodes acordiing to their overlays
2022-05-12 21:23:37 +02:00
Christian Goll
76d8fb9088
Merge pull request #422 from mslacken/fix_syncuid
...
syncucer will only write witrh syncuser switch
2022-05-12 11:59:00 +02:00
Christian Goll
9c21f2bade
Merge pull request #419 from jcsiadal/nodefault
...
Renames instances of "Default" to "Primary" in netdev source code
2022-05-12 11:58:47 +02:00
Christian Goll
80c92475b0
added backwards compatibilty for default
2022-05-12 11:51:00 +02:00
Christian Goll
2efcbe0348
syncucer will only write witrh syncuser switch
...
uid/gid are not synced at container import but checked. An apropriate
message is printed, regarding users which are not present on host.
The `wwctl container syncuser` needs the `--write` switch to actually
write to the container.
The command `wwctl container syncuser` will always operate at the
container level, but as the 'generic` overlay reads in the container
passwd/group, following two steps will update the passwd/group on a
running cluster:
1. Add passwd/group to container
wwctl container syncuser --write CONTAINER
2. Synchronize overlay
wwctl overlay build -N
2022-05-12 11:18:53 +02: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
Christian Goll
3edb8d5294
Merge pull request #418 from mslacken/overlay-opts
...
add split for strings in overlays
2022-05-05 16:18:48 +02:00
Christian Goll
121c12b5e4
Readd BuildTimeUnix
2022-05-05 16:15:06 +02:00