Skip to content

Commit

Permalink
bump default azure image (#1429)
Browse files Browse the repository at this point in the history
Signed-off-by: Siva Kanakala <[email protected]>
Co-authored-by: Matt Trachier <[email protected]>
  • Loading branch information
skanakal and matttrach authored Oct 29, 2024
1 parent 397c56a commit 83e8398
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/resources/node_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ The following attributes are exported:
* `docker_port` - (Optional) Port number for Docker engine. Default `2376` (string)
* `environment` - (Optional) Azure environment (e.g. AzurePublicCloud, AzureChinaCloud). Default `AzurePublicCloud` (string)
* `fault_domain_count` - (Optional) Fault domain count to use for availability set. Default `3` (string)
* `image` - (Optional) Azure virtual machine OS image. Default `canonical:UbuntuServer:18.04-LTS:latest` (string)
* `image` - (Optional) Azure virtual machine OS image. Default `canonical:ubuntu-24_04-lts:server-gen1:latest` (string)
* `location` - (Optional) Azure region to create the virtual machine. Default `westus` (string)
* `managed_disks` - (Optional) Configures VM and availability set for managed disks. For Rancher v2.3.x and above. Default `false` (bool)
* `no_public_ip` - (Optional) Do not create a public IP address for the machine. Default `false` (bool)
Expand All @@ -243,7 +243,7 @@ The following attributes are exported:
* `open_port` - (Optional) Make the specified port number accessible from the Internet. (list)
* `private_ip_address` - (Optional) Specify a static private IP address for the machine. (string)
* `resource_group` - (Optional) Azure Resource Group name (will be created if missing). Default `docker-machine` (string)
* `size` - (Optional) Size for Azure Virtual Machine. Default `Standard_A2` (string)
* `size` - (Optional) Size for Azure Virtual Machine. Default `Standard_D2_v2` (string)
* `ssh_user` - (Optional) Username for SSH login (string)
* `static_public_ip` - (Optional) Assign a static public IP address to the machine. Default `false` (bool)
* `storage_type` - (Optional) Type of Storage Account to host the OS Disk for the machine. Default `Standard_LRS` (string)
Expand Down
4 changes: 2 additions & 2 deletions rancher2/schema_node_template_azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func azureConfigFields() map[string]*schema.Schema {
"image": {
Type: schema.TypeString,
Optional: true,
Default: "canonical:UbuntuServer:18.04-LTS:latest",
Default: "canonical:ubuntu-24_04-lts:server-gen1:latest",
Description: "Azure virtual machine OS image",
},
"location": {
Expand Down Expand Up @@ -158,7 +158,7 @@ func azureConfigFields() map[string]*schema.Schema {
"size": {
Type: schema.TypeString,
Optional: true,
Default: "Standard_A2",
Default: "Standard_D2_v2",
Description: "Size for Azure Virtual Machine",
},
"ssh_user": {
Expand Down

0 comments on commit 83e8398

Please sign in to comment.