diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-08-25 07:33:44 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-08-28 09:36:11 -0400 |
commit | 3c6603a2f88ab5ba38bf58334417aaa90c458c06 (patch) | |
tree | cc31266b9fadabd34b9bbe56ea5abc002f83fdee /cmd/podman/common/create.go | |
parent | f49b98c61019ac04dccd6b3d5bc0c6af7857b17e (diff) | |
download | podman-3c6603a2f88ab5ba38bf58334417aaa90c458c06.tar.gz podman-3c6603a2f88ab5ba38bf58334417aaa90c458c06.tar.bz2 podman-3c6603a2f88ab5ba38bf58334417aaa90c458c06.zip |
Add support for variant when pulling images
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/common/create.go')
-rw-r--r-- | cmd/podman/common/create.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/podman/common/create.go b/cmd/podman/common/create.go index df218a026..2b6f9348e 100644 --- a/cmd/podman/common/create.go +++ b/cmd/podman/common/create.go @@ -328,6 +328,11 @@ func GetCreateFlags(cf *ContainerCLIOpts) *pflag.FlagSet { "override-os", "", "use `OS` instead of the running OS for choosing images", ) + createFlags.StringVar( + &cf.OverrideVariant, + "override-variant", "", + "Use _VARIANT_ instead of the running architecture variant for choosing images", + ) createFlags.String( "pid", "", "PID namespace to use", |