Commit Graph

524 Commits

Author SHA1 Message Date
Christian Goll
786ccdb1e1 generate reference documentation
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-02 13:52:06 +01:00
Christian Goll
94866656a4 generate man pages via sub command
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-02 11:10:20 +01:00
Christian Goll
ab2139a1fd added wwctl genconf used to generate completions
Signed-off-by: Christian Goll <cgoll@suse.de>
2023-03-01 16:42:58 +01:00
Christian Goll
2c9a241643 Merge pull request #683 from hpcng/overlayEdit
make output less scary for new files
2023-02-24 15:15:46 +01:00
Christian Goll
eae6d195b0 Merge pull request #676 from hpcng/RefactorProfileList
Refactor profile list
2023-02-24 15:14:22 +01:00
Christian Goll
063c05602d Merge pull request #665 from mslacken/ContainerMnt
Container mnt
2023-02-24 15:13:12 +01:00
Christian Goll
e64b370e73 Merge pull request #673 from mslacken/Fix523
build host overlay only if requested
2023-02-24 15:11:31 +01:00
Jonathon Anderson
cf68113c28 Merge pull request #667 from anderbubble/485-fix-overlay-ls-header
Correct header for overlay list -al
2023-02-18 23:23:13 -07:00
Christian Goll
77352fe36f removed unused flag for import 2023-02-13 12:27:47 +01:00
Christian Goll
5ed711490d remove list files option from edit 2023-02-13 11:25:35 +01:00
Christian Goll
d91f552473 make output less scary for new files 2023-02-13 11:11:19 +01:00
Christian Goll
3eaeac46d2 use canonical os.TempDir 2023-02-03 15:39:00 +01:00
Christian Goll
80687f9475 removed mounts.conf and check of env shell 2023-02-03 15:15:41 +01:00
Jonathon Anderson
e8e9c4f3bd Merge branch 'development' into lint-update 2023-02-02 14:38:33 -07:00
Christian Goll
edce6b8140 refactored profile list command 2023-02-02 12:22:07 +01:00
Christian Goll
e4eabd036e build host overlay only if requested 2023-02-01 11:35:00 +01:00
Jonathon Anderson
db35d5a5e7 Correct header for overlay list -al
Fixes #485

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-01-31 11:59:40 -07:00
Christian Goll
05237935eb node option also for shell and respect env $SHELL 2023-01-31 18:05:18 +01:00
Christian Goll
317cd5d4e0 add option for node rendering 2023-01-31 17:45:09 +01:00
Christian Goll
157c3cd923 getting defaults mounts from warewulf.conf 2023-01-31 16:04:08 +01:00
Christian Goll
d82314460f added support for mounts.conf for container exec 2023-01-31 16:04:07 +01:00
Christian Goll
71a3867bbe create temporary dir for overlayfs not in __child 2023-01-31 16:04:07 +01:00
Christian Goll
6d560ac02a create overlayfs for ephermal mount points 2023-01-31 16:04:07 +01:00
Christian Goll
a4202df508 create overlay of missing mount points 2023-01-31 16:04:07 +01:00
Christian Goll
d30d523866 respect read only rootfs for containers 2023-01-31 16:04:07 +01:00
Christian Goll
7ade65c73f cleaned up container exec __child 2023-01-31 16:04:07 +01:00
Christian Goll
5249931ab0 do not call container exec for shell call 2023-01-31 16:04:07 +01:00
Christian Goll
55f61a7c18 pass log level to container exec 2023-01-31 16:03:57 +01:00
Jonathon Anderson
5b50ef724c Fix 'nodes' alias for 'node' not 'profile'
Fixes #609

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2023-01-06 14:17:46 -07:00
Christian Goll
718064e671 add confirmation for wwctl container delete
close #606

Signed-off-by: Christian Goll <cgoll@suse.de>
2022-12-22 15:00:12 +01:00
Christian Goll
9539e20a4e add -y flag to wwctl profile add
close #610

Signed-off-by: Christian Goll <cgoll@suse.de>
2022-12-22 14:54:42 +01:00
Christian Goll
0e6223b6f8 do not confirm deleting zero nodes
close #603

Signed-off-by: Christian Goll <cgoll@suse.de>
2022-12-22 14:48:58 +01:00
Jonathon Anderson
248c5896ce Correct confirmation output in profile set
Closes #600

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-12-17 18:00:23 -07:00
Christian Goll
0a83dd4508 Merge pull request #579 from brianphan/ww-shell-env-var
Env var to identify when in container shell
2022-12-09 09:53:45 +01:00
Jonathon Anderson
78b857a3e4 Whitespace cleanup
Removes trailing whitespace from all source files.

Signed-off-by: Jonathon Anderson <janderson@ciq.co>
2022-12-08 18:59:56 -07:00
Brian Phan
b0389e1337 Set WW_CONTAINER_SHELL to Container Name 2022-12-06 09:24:01 -08:00
Brian Phan
7cd8f030ec Use 1 instead of true 2022-11-30 07:23:13 -08:00
Brian Phan
3e8bd09990 Env var to identify when in container shell 2022-11-29 09:15:09 -08:00
Christian Goll
5413eb611d removed stray debug line 2022-10-27 12:08:32 +02:00
Christian Goll
721a52239f opening file with twi seperate descriptors 2022-10-27 12:03:10 +02:00
Christian Goll
21f7a1f8c3 fix linting 2022-10-27 11:32:30 +02:00
mslacken
12efa0cc68 check if new template file was modified 2022-10-14 18:18:58 +02:00
mslacken
ab0ee87629 updated linter and fixed deprecated stuff 2022-10-14 17:40:16 +02:00
Christian Goll
4fe584547b Merge branch 'development' into wwlog-newlines 2022-10-13 14:46:03 +02:00
Christian Goll
fab7e09aeb Merge branch 'development' into container-info2 2022-10-13 10:53:49 +02:00
Christian Goll
396f3238c1 added size of containers 2022-10-13 10:35:17 +02:00
Christian Goll
71bf385cb7 add modifictation and creation date 2022-10-13 10:33:54 +02:00
Christian Goll
98e942e092 add simple node export 2022-10-13 10:13:31 +02:00
Christian Goll
33504354c2 Merge branch 'development' into node-edit 2022-10-13 09:59:38 +02:00
Christian Goll
425ced1696 Merge pull request #546 from mslacken/alias-nodes
add nodes as alias for node
2022-10-12 21:29:27 +02:00