-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Honor users requests in quadlet files
Fixes: #24322 Signed-off-by: Daniel J Walsh <[email protected]>
- Loading branch information
Showing
6 changed files
with
44 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
## assert-podman-final-args systemd-ipv6 | ||
## assert-podman-args "--ipv6" | ||
## assert-key-is Service Type exec | ||
## assert-key-is Service RemainAfterExit no | ||
## assert-key-contains Service SyslogIdentifier "Modify %N" | ||
|
||
[Network] | ||
IPv6=yes | ||
|
||
[Service] | ||
Type=exec | ||
RemainAfterExit=no | ||
SyslogIdentifier="Modify %N" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
## assert-podman-final-args-regex /.*/podman-e2e-.*/subtest-.*/quadlet | ||
## assert-podman-args "--tag" "localhost/imagename" | ||
## assert-podman-args "--network" "host" | ||
## assert-key-is "Service" "Type" "oneshot" | ||
## assert-key-is "Service" "RemainAfterExit" "no" | ||
|
||
[Build] | ||
ImageTag=localhost/imagename | ||
SetWorkingDirectory=unit | ||
Network=host | ||
|
||
[Service] | ||
RemainAfterExit=no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
## assert-key-contains Service ExecStart " --opt o=uid=0,gid=11 " | ||
## assert-key-is Service Type oneshot | ||
## assert-key-is Service RemainAfterExit no | ||
## assert-key-contains Service SyslogIdentifier "Modify %N" | ||
|
||
[Volume] | ||
# Test usernames too | ||
User=root | ||
Group=11 | ||
|
||
[Service] | ||
RemainAfterExit=no | ||
SyslogIdentifier="Modify %N" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters