Jonathon Anderson
07f6402520
Use a sentinel file to determine container readonly state. #1447
...
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-11-29 10:37:52 -07:00
Jonathon Anderson
b331fd12af
Remove dead code
...
Verified with
```
deadcode -test ./...
```
Followed-up with a lint check.
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-10-18 15:09:01 -06:00
xu yang
1f492dfed5
Add flag --build to wwctl container copy, default false
...
Signed-off-by: xu yang <xyang@ciq.com >
2024-09-20 17:31:17 -06:00
Jonathon Anderson
a1832ad8c1
Complete transfer of Warewulf from HPCng
...
Warewulf is now being maintained in its own GitHub organization at
github.com/warewulf
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-01-26 21:35:04 -07:00
Arnaud Lecomte
b56f024e6f
Core of image's duplication feature
2023-08-25 13:54:39 +02:00
mslacken
ab0ee87629
updated linter and fixed deprecated stuff
2022-10-14 17:40:16 +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
7f1636c9a9
created syncuids.go with code from utils.go
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
1afa58ae57
Fixed wrong collision for group 0(root)
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
Gregory Kurtzer
8da7dd415a
Extend and optimize relocatable build config infrastructure
2022-01-15 04:00:18 +00:00
jcsiadal
8e626e9a62
Add config option for shared state dir
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
Changes default share to /srv/warewulf
Update specfile
Some changes to match Golang standards
2022-01-11 05:52:58 +00:00
WestleyR
4edc16953e
Fix linting issues
2021-09-07 20:48:51 -07:00
Gregory Kurtzer
c60be743ba
Update sources to use upstream errors package
2021-09-06 14:50:27 -07:00
Niko Kivel
1d396df056
fixed problems with wrongly identified invalid characters
2021-03-18 11:30:33 +01:00
Gregory Kurtzer
dcea5ece28
Minor bug with removing container name if import fails. Fixed.
2021-03-06 18:32:29 -08:00
Gregory Kurtzer
431c6d6891
Renamed vnfs.go to util.go
2021-03-06 18:27:21 -08:00