Quadlet Volume - allow setting mount option without a device

Fixes: #28132

Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
This commit is contained in:
Ygal Blum
2026-02-26 12:27:23 -05:00
parent d3a81e3e17
commit 6c41f55aa7
3 changed files with 11 additions and 7 deletions

View File

@@ -0,0 +1,7 @@
## assert-last-key-contains Service ExecStart " --opt o=uid=0,gid=11,rw,compress=zstd "
[Volume]
# Test usernames too
User=root
Group=11
Options=rw,compress=zstd

View File

@@ -1017,6 +1017,7 @@ BOGUS=foo
Entry("Volume - global args", "globalargs.volume"),
Entry("Volume - Containers Conf Modules", "containersconfmodule.volume"),
Entry("Volume - Type=bind", "device-bind.volume"),
Entry("mount-options.volume", "mount-options.volume"),
Entry("Absolute Path", "absolute.path.kube"),
Entry("Basic kube", "basic.kube"),