summaryrefslogtreecommitdiff
path: root/pkg/domain/infra
diff options
context:
space:
mode:
authorQi Wang <qiwan@redhat.com>2020-04-24 14:54:30 -0400
committerQi Wang <qiwan@redhat.com>2020-04-24 14:57:56 -0400
commit2f3734b143a6f1d61e396ca221a211b7c487d081 (patch)
tree58c5c6f3effe94a73e2a9ece8d20aeac8a209586 /pkg/domain/infra
parent3c3adac52838bc4d2b0fdda2cbb8366c81444728 (diff)
downloadpodman-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 'pkg/domain/infra')
-rw-r--r--pkg/domain/infra/abi/manifest.go1
-rw-r--r--pkg/domain/infra/tunnel/manifest.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/pkg/domain/infra/abi/manifest.go b/pkg/domain/infra/abi/manifest.go
index 27d4bf9a5..88331f96c 100644
--- a/pkg/domain/infra/abi/manifest.go
+++ b/pkg/domain/infra/abi/manifest.go
@@ -79,6 +79,7 @@ func (ir *ImageEngine) ManifestAdd(ctx context.Context, opts entities.ManifestAd
Arch: opts.Arch,
Features: opts.Features,
Images: opts.Images,
+ OS: opts.OS,
OSVersion: opts.OSVersion,
Variant: opts.Variant,
}
diff --git a/pkg/domain/infra/tunnel/manifest.go b/pkg/domain/infra/tunnel/manifest.go
index 338256530..18b400533 100644
--- a/pkg/domain/infra/tunnel/manifest.go
+++ b/pkg/domain/infra/tunnel/manifest.go
@@ -41,6 +41,7 @@ func (ir *ImageEngine) ManifestAdd(ctx context.Context, opts entities.ManifestAd
Arch: opts.Arch,
Features: opts.Features,
Images: opts.Images,
+ OS: opts.OS,
OSVersion: opts.OSVersion,
Variant: opts.Variant,
}