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
Christian Goll
8c7fd7d140
basic function comparing uids of host/container
2022-04-06 21:44:00 +02:00
Christian Goll
95050a44ce
add user defined keys for networks/netdev
...
Every network in the profile and for the nodes can have induvidual keys values
pairs, called Tags, which are propergated to the templates. So they can be used
for things like MTU size like
`wwct node set node01 --nettag mtu=9000`
and in in ifcfg.xml.ww
```
{{ if $netdev.Tags.mtu -}}
<mtu> {{ $netdev.Tags.mtu }} </mtu>
{{ end -}}
```
2022-04-06 21:36:17 +02:00
jcsiadal
bfde70cf8a
Error free lint
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2022-04-04 17:01:11 +00:00
Christian Goll
2d2fb13423
warewulf.conf option disable host overlays
2022-03-30 17:23:38 +02:00
Christian Goll
c0f7ecf357
store the ovelats as yaml list
2022-03-24 19:45:51 +01:00
Christian Goll
d3b10624b0
Merge branch 'ipv6'
2022-03-18 09:37:23 +01:00
Christian Goll
265dbad6c1
do not combine overlays any more
2022-03-17 12:50:51 +01:00
Christian Goll
dfd39ae663
shell completion for wwctl voerlay build
2022-03-17 12:42:34 +01:00
Christian Goll
0d62a26368
wwctl overlay buld fixes
2022-03-16 17:28:04 +01:00
Christian Goll
9dbf371174
overlay build allow output to given dir
2022-03-16 12:23:33 +01:00
Christian Goll
4fc56e2cd0
fixed lint
2022-03-15 16:03:53 +01:00
Christian Goll
55bf1695de
initial commit of simple ipv6 support
...
As soon as in warewulf.conf a value for ipaddr6 is defined
all nodes will get a derived ipv6 address if not the ipv6
is not explicitly set.
2022-03-15 15:57:35 +01:00
Christian Goll
351b81b9e3
ignore defval on GetSlice
...
if there is an value the default gets not included in the slice of an value
2022-03-11 15:59:38 +01:00
Christian Goll
1098771c83
allow the build of specific overlays
2022-03-11 15:03:15 +01:00
Christian Goll
f279863d7f
node list prints combine valuse for node
2022-03-11 12:27:36 +01:00
Christian Goll
4264717f3e
create just needs one arg
2022-03-11 11:52:47 +01:00