Christian Goll
d976e7fc31
Merge pull request #467 from mslacken/single-Overlay
...
enable overlay rendering
2022-06-24 09:50:14 +02:00
Christian Goll
cc6b75a4f6
bash completion for ssh command
2022-06-22 12:17:04 +02:00
Christian Goll
8cd4b0aa02
Fix wwct node set profile for single profile
2022-06-10 13:39:05 +02:00
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
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
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
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
Gregory Kurtzer
8717b91938
Avoid container build if exit non-zero
2022-05-25 14:46:16 -07: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
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
jcsiadal
9b6b93a5cb
Rename default to primary in src
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2022-05-05 03:13:21 +00:00
Gregory M. Kurtzer
9cefa32198
Merge pull request #415 from gmkurtzer/minor_fixups_for_4.3.0
...
Minor fix ups for 4.3.0
2022-05-03 22:24:44 -07:00
Gregory M. Kurtzer
d0d5d24884
Merge pull request #412 from mslacken/show-kernel-version
...
container show prints kernel version
2022-05-03 22:16:55 -07:00
Gregory M. Kurtzer
04decd799f
Merge pull request #410 from gmkurtzer/boolean_print_fixes
...
Align boolean prints
2022-05-03 22:12:39 -07:00
Gregory M. Kurtzer
5257413aea
Merge pull request #406 from mslacken/version-vars
...
more verbose wwctl version
2022-05-03 22:11:37 -07:00
Gregory Kurtzer
dd1cf6f4a5
Don't force LC on node set
...
This makes it so we can never UNDEF/DELETE an entry as that requires
upper case. So we are doing the lower case now where it matters.
2022-05-03 21:53:47 -07:00
Gregory Kurtzer
60b586b69a
Don't do SyncUids by default always
2022-05-03 21:52:13 -07:00
Christian Goll
1a61b53bb2
container show prints kernel version
2022-05-03 10:27:56 +02:00
mslacken
5643b71de6
fixed linting
2022-04-29 11:18:20 +02:00
mslacken
95c951e673
use bash export syntax for variables
2022-04-29 10:20:56 +02:00
mslacken
0fd8553bad
add full output siwtch to wwctl version
2022-04-29 10:07:15 +02:00
Gregory Kurtzer
c95c518dde
Align boolean prints
2022-04-27 22:33:34 -07:00
Christian Goll
0a9e4b89a1
fixup format
2022-04-26 11:30:04 +02:00
Christian Goll
673253fbe0
Inlcude build in vars in version output
2022-04-26 11:13:54 +02:00
Christian Goll
bfec010e5d
only build assigned overlays
...
If a overlay should be build, check if the overlay is assigned to
a node, and return error if otherwise.
2022-04-26 10:24:52 +02:00
jcsiadal
dbd747788f
wwctl profile fixes
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2022-04-19 21:59:34 +00:00
Christian Goll
ca698182f9
direct file is now also suppored
2022-04-14 14:45:23 +02:00
Christian Goll
18e2147953
added file uri pattern for container import
2022-04-14 14:25:22 +02:00
Christian Goll
edc7c04bc2
PrintB returns string
2022-04-14 11:43:02 +02:00
Christian Goll
f9848455c7
output ipmi write status
2022-04-14 11:29:24 +02:00
Christian Goll
7e42286610
fixed linting
2022-04-07 11:35:34 +02:00
Christian Goll
2567246067
fixed linting
2022-04-06 21:44:00 +02:00
Christian Goll
db2dcbfbe2
will always run syncuids on exec and import
2022-04-06 21:44:00 +02:00
Christian Goll
61eae386af
Just check syncuids on default
2022-04-06 21:44:00 +02:00
Christian Goll
5fb10130f3
check for modifcation of passwd/group after exec
2022-04-06 21:44:00 +02:00
Christian Goll
23ba9ca61a
fixed linting
2022-04-06 21:44:00 +02:00