From 2f3734b143a6f1d61e396ca221a211b7c487d081 Mon Sep 17 00:00:00 2001 From: Qi Wang Date: Fri, 24 Apr 2020 14:54:30 -0400 Subject: Add --os to manifest add Add --os to manifest add for overriding the os field. Signed-off-by: Qi Wang --- pkg/domain/infra/abi/manifest.go | 1 + pkg/domain/infra/tunnel/manifest.go | 1 + 2 files changed, 2 insertions(+) (limited to 'pkg/domain/infra') 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, } -- cgit v1.2.3-54-g00ecf