forked from containers/podman
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request containers#18362 from rhatdan/quadlet
Support systemd optional prefix '-' for devices.
- Loading branch information
Showing
3 changed files
with
18 additions
and
1 deletion.
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,7 +1,14 @@ | ||
## assert-podman-args --device=/dev/fuse | ||
## assert-podman-args --device=/dev/loop0:r | ||
## assert-podman-args --device=/dev/null:/dev/test | ||
## !assert-podman-args --device=/dev/bogus:r | ||
## !assert-podman-args --device=/dev/bogus | ||
## !assert-podman-args --device=/dev/bogus1 | ||
|
||
[Container] | ||
Image=localhost/imagename | ||
AddDevice=/dev/fuse | ||
AddDevice=/dev/loop0:r | ||
AddDevice=-/dev/null:/dev/test | ||
AddDevice=-/dev/bogus:r | ||
AddDevice=-/dev/bogus1 |