From 8c2e8686892734c18758d630148d18935f2d360b Mon Sep 17 00:00:00 2001 From: jayfranco999 Date: Tue, 26 Nov 2024 15:29:14 +0530 Subject: [PATCH] fixup Signed-off-by: jayfranco999 --- updatecli/updatecli.d/az-ubuntu-22-04-amd64-images.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updatecli/updatecli.d/az-ubuntu-22-04-amd64-images.yml b/updatecli/updatecli.d/az-ubuntu-22-04-amd64-images.yml index a0e74eac6..a01c4f900 100644 --- a/updatecli/updatecli.d/az-ubuntu-22-04-amd64-images.yml +++ b/updatecli/updatecli.d/az-ubuntu-22-04-amd64-images.yml @@ -18,7 +18,7 @@ sources: kind: shell name: Get the latest `ubuntu 22.04` amd64 image version from Azure spec: - command: az login --service-principal -u $AZURE_CLIENT_ID -p $AZURE_CLIENT_SECRET --tenant $AZURE_TENANT_ID > /dev/null && az vm image list --location eastus --publisher Canonical --offer 0001-com-ubuntu-server-jammy --sku 22.04-AMD64 --all --query "[?sku=='22.04-AMD64'].version" -o tsv | sort -u | tail -n 1 + command: az login --service-principal -u $AZURE_CLIENT_ID -p $AZURE_CLIENT_SECRET --tenant $AZURE_TENANT_ID > /dev/null && az vm image list --location eastus --publisher Canonical --offer 0001-com-ubuntu-server-jammy --sku 22_04-AMD64-lts-gen2 --all --query "[?offer=='0001-com-ubuntu-server-jammy'].version" -o tsv | sort -u | tail -n 1 environments: - name: PATH - name: AZURE_CLIENT_ID