From ea8e3ba81db484e987453aa0e9ae9b4fb246490f Mon Sep 17 00:00:00 2001 From: Brant Gurganus Date: Wed, 7 Aug 2024 10:36:29 -0400 Subject: [PATCH] add a stringArray example for extensions This addresses ticket siderolabs/omni-docs#91 --- client/pkg/omnictl/download.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/pkg/omnictl/download.go b/client/pkg/omnictl/download.go index 436beac62..7cae175a2 100644 --- a/client/pkg/omnictl/download.go +++ b/client/pkg/omnictl/download.go @@ -89,6 +89,10 @@ For example, to download the latest ISO image for arm64, run: omnictl download iso --arch amd64 +To download the same ISO with two extensions added, the --extensions argument gets repeated to produce a stringArray: + + omnictl download iso --arch amd64 --extensions intel-ucode --extensions qemu-guest-agent + To download the latest Vultr image, run: omnictl download "vultr"