jason yang
6f200d65a6
Merge branch 'development' into issue/690
2023-03-28 07:09:33 +00:00
jason yang
522c3478fb
use tablewriter to format the output
...
Signed-off-by: jason yang <jasonyangshadow@gmail.com >
2023-03-23 02:44:59 +00:00
Christian Goll
8f76b81596
Merge branch 'development' into genconf
2023-03-22 12:06:58 +01:00
jason yang
84bfccba43
add support for resolving absolute path automatically
...
Signed-off-by: jason yang <jasonyangshadow@gmail.com >
2023-03-22 04:18:50 +00:00
Yang Xu
854240075a
Merge branch 'development' into issue/661
2023-03-17 18:06:18 +09:00
jason yang
8dc0168412
changing a profile always adds an empty default interface
...
Signed-off-by: jason yang <jasonyangshadow@gmail.com >
2023-03-17 09:01:51 +00:00
Christian Goll
78978ad233
added warewulfconf as command line parameter
...
the environment variable WAREWULFCONF is also recognized
Signed-off-by: Christian Goll <cgoll@suse.de >
2023-03-03 11:18:49 +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
aec1cb82ae
ipmi and kernel fields were missing in ouput
2023-02-16 12:18:04 +01:00
Jonathon Anderson
104f9197f3
Merge pull request #671 from hpcng/SortNetnames
...
sort netnames for node list
2023-02-02 20:56:45 -07:00
Jonathon Anderson
963793d96e
Merge pull request #669 from mslacken/FixContainerShow
...
container show will only show valid containers
2023-02-02 20:54:55 -07: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
0a8638698d
sort netnames for node list
2023-02-01 11:10:51 +01:00
Christian Goll
b5725513b3
container show will only show valid containers
2023-02-01 09:30:27 +01:00
Christian Goll
f5b35f7ef8
do not copy resolv.conf, but mount it
2023-01-31 16:04:08 +01:00
Christian Goll
c7abc078bf
Merge pull request #585 from mslacken/fix-container-list
...
react on the error accordingly
2022-12-09 09:53:01 +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
Christian Goll
241425f525
react on the error accordingly
2022-12-07 15:10:18 +01:00
Christian Goll
fee0bb20b7
use tag instead of nettag
2022-10-18 10:10:21 +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
33504354c2
Merge branch 'development' into node-edit
2022-10-13 09:59:38 +02:00
Christian Goll
c3416de3cb
fix for go1.16 and possible sigsev
2022-09-19 17:10:06 +02:00
Christian Goll
8e0fd64c7e
add profile edit (copy&paste) from node edit
2022-09-19 16:01:36 +02:00
Christian Goll
7c453066fa
add short check if config can be written
2022-09-19 11:09:36 +02:00
Jonathon Anderson
4661b02a3d
Move "not found" presentation to CLI
2022-09-16 21:56:39 +00:00
Jonathon Anderson
14b45e37c0
Fix output of wwctl container show
...
Commit d8cd6049 introduced erroneous output coming from an
inner function of container show, and (seemingly) erroneously
replaces valid kernel versions with "not found". This commit
fixes both of those issues, and moves the output to the outer
cli function.
2022-09-16 21:33:49 +00:00
Christian Goll
54dd8b3d2f
linter fixes as some errors may not really occur
2022-09-16 17:02:17 +02:00
Christian Goll
7087f3e4a1
add edit command for direct edit of node entries
2022-09-16 16:51:07 +02: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
c75f4e468c
remove also the container image on delete
2022-09-14 14:42:33 +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
18eb531d4b
fixed deletion of network and deletion of tags
2022-09-02 16:45:37 +02:00
Christian Goll
b485ea999f
removed optionStrMap in favor of NodeConf
...
openStrMap is a map[string]string which is sent arround. This is now
done by using a unmarshalled NodeConf instead.
2022-08-18 19:22:55 +02:00
Christian Goll
20fa9d2e2a
fix regression on container import
2022-08-11 16:38:43 +02:00
Christian Goll
8c2d40881d
use reflect on overlays
2022-08-10 17:09:10 +02:00
Christian Goll
41d12888ab
reflections for unmarshal
2022-08-10 14:16:48 +02:00
Christian Goll
d252b974bf
Fix Nodeadd with ipaddr count
2022-07-21 08:41:36 +02:00
Christian Goll
99e9316011
restore old node list
2022-07-20 12:13:19 +02:00
Christian Goll
e23f794166
simplified node list command
2022-07-19 17:21:27 +02:00
Christian Goll
1dd519a7e6
clean up and linting fix
2022-07-18 15:04:38 +02:00
Christian Goll
26fff30897
node add with all options now
2022-07-18 14:42:00 +02:00
Christian Goll
e6ef30ed53
porfile add has now all otions of set
2022-07-15 11:10:12 +02:00
Christian Goll
e0c62a81a4
testing profile set
2022-07-14 10:35:27 +02:00
Christian Goll
14b86a5e8e
added profile set over API
2022-07-13 15:56:04 +02:00