config_linux.json 1.01 KB
Newer Older
1
2
3
4
5
{
  "builders": [{
    "type": "azure-arm",

    "client_id": "<client_id>",
Yuge Zhang's avatar
Yuge Zhang committed
6
7
    "client_secret": "<client_secret>",
    "subscription_id": "<subscription_id>",
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

    "managed_image_name": "<managed_image_name>",
    "managed_image_resource_group_name": "<resource_group>",

    "os_type": "Linux",
    "image_publisher": "Canonical",
    "image_offer": "0001-com-ubuntu-server-focal",
    "image_sku": "20_04-lts-gen2",

    "os_disk_size_gb": 50,

    "shared_image_gallery_destination": {
      "subscription": "<subscription_id>",
      "resource_group": "<resource_group>",
      "gallery_name": "<gallery_name>",
      "image_name": "<image_name>",
      "image_version": "<image_version>",
Yuge Zhang's avatar
Yuge Zhang committed
25
      "replication_regions": ["southeastasia", "westus2", "eastus"],
26
27
28
29
30
31
32
33
34
35
36
37
      "storage_account_type": "Standard_LRS"
    },

    "build_resource_group_name": "nni",
    "vm_size": "Standard_DS2_v2"
  }],
  "provisioners": [{
    "script": "setup_linux.sh",
    "type": "shell",
    "timeout": "30m"
  }]
}