Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(example): update links to container images, use faster mirror #1497

Merged
merged 1 commit into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/resource_virtual_environment_container.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ resource "proxmox_virtual_environment_container" "example_template" {
node_name = data.proxmox_virtual_environment_nodes.example.names[0]

operating_system {
template_file_id = proxmox_virtual_environment_download_file.release_20240514_ubuntu_22_jammy_lxc_img.id
template_file_id = proxmox_virtual_environment_download_file.release_20240725_ubuntu_24_noble_lxc_img.id
type = "ubuntu"
}

Expand Down
6 changes: 3 additions & 3 deletions example/resource_virtual_environment_download_file.tf
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
## Debian and ubuntu image download

resource "proxmox_virtual_environment_download_file" "release_20240514_ubuntu_22_jammy_lxc_img" {
resource "proxmox_virtual_environment_download_file" "release_20240725_ubuntu_24_noble_lxc_img" {
content_type = "vztmpl"
datastore_id = "local"
node_name = "pve"
url = var.release_20240416_ubuntu_22_jammy_lxc_img_url
checksum = var.release_20240416_ubuntu_22_jammy_lxc_img_checksum
url = var.release_20240725_ubuntu_24_noble_lxc_img_url
checksum = var.release_20240725_ubuntu_24_noble_lxc_img_checksum
checksum_algorithm = "sha256"
upload_timeout = 4444
overwrite_unmanaged = true
Expand Down
12 changes: 6 additions & 6 deletions example/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ variable "latest_debian_12_bookworm_qcow2_img_url" {
default = "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2"
}

variable "release_20240416_ubuntu_22_jammy_lxc_img_url" {
variable "release_20240725_ubuntu_24_noble_lxc_img_url" {
type = string
description = "The URL for the Ubuntu 22.04 LXC image"
default = "https://cloud-images.ubuntu.com/releases/22.04/release-20240416/ubuntu-22.04-server-cloudimg-amd64-root.tar.xz"
description = "The URL for the Ubuntu 24.04 LXC image"
default = "https://mirrors.servercentral.com/ubuntu-cloud-images/releases/24.04/release-20240725/ubuntu-24.04-server-cloudimg-amd64-root.tar.xz"
}

variable "release_20240416_ubuntu_22_jammy_lxc_img_checksum" {
variable "release_20240725_ubuntu_24_noble_lxc_img_checksum" {
type = string
description = "The checksum for the Ubuntu 22.04 LXC image"
default = "a362bf415ad2eae4854deda6237894a96178a2edbbd5a1956d6c55c5837a80d3"
description = "The checksum for the Ubuntu 24.04 LXC image"
default = "d767d38cb25b2c25d84edc31a80dd1c29a8c922b74188b0e14768b2b2fb6df8e"
}
Loading