jason yang
6f200d65a6
Merge branch 'development' into issue/690
2023-03-28 07:09:33 +00:00
Christian Goll
aee7738be1
fix linting for disabled batch test
...
Signed-off-by: Christian Goll <cgoll@suse.de >
2023-03-24 09:52:38 +01:00
Jonathon Anderson
132f14c4c3
Disable TestBatchPool
...
This test is unreliable due to its dependency on timing. Disabling for now
until a better method is implemented.
Signed-off-by: Jonathon Anderson <janderson@ciq.co >
2023-03-23 12:14:36 -06: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
d3af143a5b
main_tests are not working as expected
...
The global values which store the flags are not regenerated during test
Signed-off-by: Christian Goll <cgoll@suse.de >
2023-03-07 17:01:57 +01:00
Christian Goll
07d39c2e49
moved location of defaults.conf
...
Signed-off-by: Christian Goll <cgoll@suse.de >
2023-03-07 11:49:09 +01:00
Christian Goll
3367b67b9f
added a test for wwctl node add
...
Signed-off-by: Christian Goll <cgoll@suse.de >
2023-03-07 09:05:29 +01:00
Christian Goll
a422a1617c
added Changelog
...
Signed-off-by: Christian Goll <cgoll@suse.de >
2023-03-06 15:53:32 +01:00
Christian Goll
ce43dfa0b7
removed getters as configs must exportable
...
Signed-off-by: Christian Goll <cgoll@suse.de >
2023-03-06 10:20:00 +01:00
Christian Goll
b55473e1e4
added new build in vars to rest of binaries
...
Signed-off-by: Christian Goll <cgoll@suse.de >
2023-03-03 16:21:44 +01:00
Christian Goll
ca088d123d
paths need to be visibale for marshalling
...
Signed-off-by: Christian Goll <cgoll@suse.de >
2023-03-03 16:12:53 +01:00
Christian Goll
377702a179
make the configuration to be based in warewulf.conf
...
defaults will be se by the Makefile
Signed-off-by: Christian Goll <cgoll@suse.de >
2023-03-03 16:02:41 +01:00
Christian Goll
32b4bb74cc
added wwctl genconfig warewulfconf print
...
Signed-off-by: Christian Goll <cgoll@suse.de >
2023-03-03 14:07:26 +01: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
bb894df100
added make_defaults to wwctl genconfig defaults
...
Signed-off-by: Christian Goll <cgoll@suse.de >
2023-03-02 19:44:48 +01:00
Jonathon Anderson
88feb1a876
Testing for the batch package
...
* Remove Min function (unused)
Signed-off-by: Jonathon Anderson <janderson@ciq.co >
2023-02-24 22:47:12 -07:00
Christian Goll
b9810f2c3a
Merge pull request #682 from hpcng/RefactorPrimary
...
set the primary network in NodeInfo not in NetDev
2023-02-24 15:15:24 +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
11fa27f3e9
Merge pull request #651 from mslacken/MakeIpxeConfig
...
make ipxe binary source configurable
2023-02-24 15:12:26 +01:00
Christian Goll
aec1cb82ae
ipmi and kernel fields were missing in ouput
2023-02-16 12:18:04 +01:00
Christian Goll
c6b65bc853
set the primary network in NodeInfo not in NetDev
...
Prior the primary was a boolean attribute of NetDev, so several
NetDevs could have been primay. Setting is as a sting in NodeConf
assures that only one network could be primary.
If no primary network is set, a valid altvalue will be set.
2023-02-10 10:46:01 +01:00
Christian Goll
7e64e995cb
Merge pull request #653 from anderbubble/650-syncuser-error-message
...
Refactor some variables in syncuser and correct error message
2023-02-03 12:27:15 +01:00
Christian Goll
4f0ad749d1
Merge pull request #639 from mslacken/DefaultNetwork
...
use default not override for single network entry
2023-02-03 11:54:01 +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
81c3192988
Fix a grammatical error in a log message
2023-02-02 17:26:26 -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
Jonathon Anderson
cb1726bd40
Minor spelling fix
...
Signed-off-by: Jonathon Anderson <janderson@ciq.co >
2023-01-31 14:57:27 -07:00
Christian Goll
f5b35f7ef8
do not copy resolv.conf, but mount it
2023-01-31 16:04:08 +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
d30d523866
respect read only rootfs for containers
2023-01-31 16:04:07 +01:00
Christian Goll
09ad83b02f
add TMPDIR
2023-01-31 16:04:07 +01:00
Jonathon Anderson
7e94c265f0
Refactor some variables in syncuser and correct error message
...
- Rename some internal variables to make the function easier to follow
- Refactor some code to make it simpler
- Remove some commented-out code
- Fix an error message
Closes #650
Signed-off-by: Jonathon Anderson <janderson@ciq.co >
2023-01-24 22:06:19 -06:00
Christian Goll
32ab50f299
make ipxe binary source configureable
2023-01-24 12:11:11 +01:00
Christian Goll
2cca2a7662
Merge pull request #640 from mslacken/removeSigs
...
remove signature from OCI image
2023-01-18 21:29:33 +01:00
Christian Goll
66bfa48fcc
Merge pull request #645 from mslacken/resolvKernelVers
...
resolve symlink for kernel version
2023-01-18 21:27:18 +01:00
Christian Goll
ab9c0534f5
Merge pull request #646 from anderbubble/627-remove-redundant-code
...
Remove redundant code
2023-01-18 21:25:55 +01:00
Jonathon Anderson
42f4f1db34
Simpler symlink handling in KernelFind
...
Signed-off-by: Jonathon Anderson <janderson@ciq.co >
2023-01-17 23:43:22 -07:00
David McFarlane
950099f9dc
Set umask to 0000 while overlays are being built. Fixes #584
2023-01-18 14:34:40 +11:00
Jonathon Anderson
3638378eaa
Remove redundant code
...
Pointed out in #627
Signed-off-by: Jonathon Anderson <janderson@ciq.co >
2023-01-16 14:42:06 -07:00
Christian
750358646d
resolve symlink for kernel version
2023-01-16 14:34:16 +01:00