diff options
author | Qi Wang <qiwan@redhat.com> | 2020-04-24 14:54:30 -0400 |
---|---|---|
committer | Qi Wang <qiwan@redhat.com> | 2020-04-24 14:57:56 -0400 |
commit | 2f3734b143a6f1d61e396ca221a211b7c487d081 (patch) | |
tree | 58c5c6f3effe94a73e2a9ece8d20aeac8a209586 /cmd | |
parent | 3c3adac52838bc4d2b0fdda2cbb8366c81444728 (diff) | |
download | podman-2f3734b143a6f1d61e396ca221a211b7c487d081.tar.gz podman-2f3734b143a6f1d61e396ca221a211b7c487d081.tar.bz2 podman-2f3734b143a6f1d61e396ca221a211b7c487d081.zip |
Add --os to manifest add
Add --os to manifest add for overriding the os field.
Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/manifest/add.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/manifest/add.go b/cmd/podman/manifest/add.go index 20251ca87..c83beff7a 100644 --- a/cmd/podman/manifest/add.go +++ b/cmd/podman/manifest/add.go @@ -34,6 +34,7 @@ func init() { flags.StringSliceVar(&manifestAddOpts.Annotation, "annotation", nil, "set an `annotation` for the specified image") flags.StringVar(&manifestAddOpts.Arch, "arch", "", "override the `architecture` of the specified image") flags.StringSliceVar(&manifestAddOpts.Features, "features", nil, "override the `features` of the specified image") + flags.StringVar(&manifestAddOpts.OS, "os", "", "override the `OS` of the specified image") flags.StringVar(&manifestAddOpts.OSVersion, "os-version", "", "override the OS `version` of the specified image") flags.StringVar(&manifestAddOpts.Variant, "variant", "", "override the `Variant` of the specified image") } |