Skip to content

Commit 634aaad

Browse files
committed
misc: use ubuntu minimal cloud image in tests
Signed-off-by: Ehsan Poursaeed <[email protected]>
1 parent 702500c commit 634aaad

File tree

11 files changed

+18
-18
lines changed

11 files changed

+18
-18
lines changed

docs/guides/clone-vm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ resource "proxmox_virtual_environment_download_file" "ubuntu_cloud_image" {
6969
datastore_id = "local"
7070
node_name = var.virtual_environment_node_name
7171
72-
url = "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
72+
url = "https://cloud-images.ubuntu.com/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img"
7373
}
7474
```
7575

docs/guides/cloud-image.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ resource "proxmox_virtual_environment_download_file" "ubuntu_cloud_image" {
7878
content_type = "import"
7979
datastore_id = "local"
8080
node_name = "pve"
81-
url = "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
81+
url = "https://cloud-images.ubuntu.com/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img"
8282
# need to rename the file to *.qcow2 to indicate the actual file format for import
8383
file_name = "jammy-server-cloudimg-amd64.qcow2"
8484
}

docs/guides/cloud-init.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ resource "proxmox_virtual_environment_download_file" "ubuntu_cloud_image" {
5959
content_type = "import"
6060
datastore_id = "local"
6161
node_name = "pve"
62-
url = "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
62+
url = "https://cloud-images.ubuntu.com/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img"
6363
# need to rename the file to *.qcow2 to indicate the actual file format for import
6464
file_name = "jammy-server-cloudimg-amd64.qcow2"
6565
}
@@ -164,7 +164,7 @@ resource "proxmox_virtual_environment_download_file" "ubuntu_cloud_image" {
164164
content_type = "import"
165165
datastore_id = "local"
166166
node_name = "pve"
167-
url = "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
167+
url = "https://cloud-images.ubuntu.com/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img"
168168
# need to rename the file to *.qcow2 to indicate the actual file format for import
169169
file_name = "jammy-server-cloudimg-amd64.qcow2"
170170
}

docs/resources/virtual_environment_download_file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ resource "proxmox_virtual_environment_download_file" "latest_ubuntu_22_jammy_qco
5757
content_type = "iso"
5858
datastore_id = "local"
5959
node_name = "pve"
60-
url = "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
60+
url = "https://cloud-images.ubuntu.com/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img"
6161
}
6262
6363
resource "proxmox_virtual_environment_download_file" "latest_static_ubuntu_24_noble_qcow2_img" {

examples/guides/clone-vm/template.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ resource "proxmox_virtual_environment_download_file" "ubuntu_cloud_image" {
5252
datastore_id = "local"
5353
node_name = var.virtual_environment_node_name
5454

55-
url = "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
55+
url = "https://cloud-images.ubuntu.com/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img"
5656
}

examples/guides/cloud-image/ubuntu-img/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ resource "proxmox_virtual_environment_download_file" "ubuntu_cloud_image" {
2727
content_type = "import"
2828
datastore_id = "local"
2929
node_name = "pve"
30-
url = "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
30+
url = "https://cloud-images.ubuntu.com/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img"
3131
# need to rename the file to *.qcow2 to indicate the actual file format for import
3232
file_name = "jammy-server-cloudimg-amd64.qcow2"
3333
}

examples/guides/cloud-init/custom/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ resource "proxmox_virtual_environment_download_file" "ubuntu_cloud_image" {
4646
content_type = "import"
4747
datastore_id = "local"
4848
node_name = "pve"
49-
url = "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
49+
url = "https://cloud-images.ubuntu.com/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img"
5050
# need to rename the file to *.qcow2 to indicate the actual file format for import
5151
file_name = "jammy-server-cloudimg-amd64.qcow2"
5252
}

examples/guides/cloud-init/native/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ resource "proxmox_virtual_environment_download_file" "ubuntu_cloud_image" {
4444
content_type = "import"
4545
datastore_id = "local"
4646
node_name = "pve"
47-
url = "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
47+
url = "https://cloud-images.ubuntu.com/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img"
4848
# need to rename the file to *.qcow2 to indicate the actual file format for import
4949
file_name = "jammy-server-cloudimg-amd64.qcow2"
5050
}

examples/resources/proxmox_virtual_environment_download_file/resource.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ resource "proxmox_virtual_environment_download_file" "latest_ubuntu_22_jammy_qco
3838
content_type = "iso"
3939
datastore_id = "local"
4040
node_name = "pve"
41-
url = "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
41+
url = "https://cloud-images.ubuntu.com/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img"
4242
}
4343

4444
resource "proxmox_virtual_environment_download_file" "latest_static_ubuntu_24_noble_qcow2_img" {

fwprovider/test/resource_vm_disks_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func TestAccResourceVMDisks(t *testing.T) {
110110
content_type = "iso"
111111
datastore_id = "local"
112112
node_name = "{{.NodeName}}"
113-
url = "{{.CloudImagesServer}}/jammy/current/jammy-server-cloudimg-amd64.img"
113+
url = "{{.CloudImagesServer}}/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img"
114114
overwrite_unmanaged = true
115115
}
116116
resource "proxmox_virtual_environment_vm" "test_disk" {
@@ -148,7 +148,7 @@ func TestAccResourceVMDisks(t *testing.T) {
148148
content_type = "import"
149149
datastore_id = "local"
150150
node_name = "{{.NodeName}}"
151-
url = "{{.CloudImagesServer}}/jammy/current/jammy-server-cloudimg-amd64.img"
151+
url = "{{.CloudImagesServer}}/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img"
152152
file_name = "test-disk-image.img.raw"
153153
overwrite_unmanaged = true
154154
}
@@ -1113,7 +1113,7 @@ func TestAccResourceVMDisks(t *testing.T) {
11131113
content_type = "import"
11141114
datastore_id = "local"
11151115
node_name = "{{.NodeName}}"
1116-
url = "{{.CloudImagesServer}}/jammy/current/jammy-server-cloudimg-amd64.img"
1116+
url = "{{.CloudImagesServer}}/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img"
11171117
file_name = "test-bootdisk-bug-image.img.raw"
11181118
overwrite_unmanaged = true
11191119
}
@@ -1148,7 +1148,7 @@ func TestAccResourceVMDisks(t *testing.T) {
11481148
content_type = "import"
11491149
datastore_id = "local"
11501150
node_name = "{{.NodeName}}"
1151-
url = "{{.CloudImagesServer}}/jammy/current/jammy-server-cloudimg-amd64.img"
1151+
url = "{{.CloudImagesServer}}/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img"
11521152
file_name = "test-bootdisk-bug-image.img.raw"
11531153
overwrite_unmanaged = true
11541154
}
@@ -1188,7 +1188,7 @@ func TestAccResourceVMDisks(t *testing.T) {
11881188
content_type = "import"
11891189
datastore_id = "local"
11901190
node_name = "{{.NodeName}}"
1191-
url = "{{.CloudImagesServer}}/jammy/current/jammy-server-cloudimg-amd64.img"
1191+
url = "{{.CloudImagesServer}}/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img"
11921192
file_name = "test-boot-resize-image.img.raw"
11931193
overwrite_unmanaged = true
11941194
}
@@ -1216,7 +1216,7 @@ func TestAccResourceVMDisks(t *testing.T) {
12161216
content_type = "import"
12171217
datastore_id = "local"
12181218
node_name = "{{.NodeName}}"
1219-
url = "{{.CloudImagesServer}}/jammy/current/jammy-server-cloudimg-amd64.img"
1219+
url = "{{.CloudImagesServer}}/minimal/releases/noble/release/ubuntu-24.04-minimal-cloudimg-amd64.img"
12201220
file_name = "test-boot-resize-image.img.raw"
12211221
overwrite_unmanaged = true
12221222
}

0 commit comments

Comments
 (0)