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

fix: add default checksum for centos9-stream #254

Merged
Merged
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
4 changes: 2 additions & 2 deletions centos9-stream/centos9-stream.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ variable "centos9_stream_iso_url" {

variable "centos9_stream_sha256sum_url" {
type = string
default = "none"
default = "https://mirror.stream.centos.org/9-stream/BaseOS/x86_64/iso/CentOS-Stream-9-latest-x86_64-boot.iso.SHA256SUM"
}

# use can use "--url" to specify the exact url for os repo
Expand Down Expand Up @@ -78,7 +78,7 @@ source "qemu" "centos9-stream" {
communicator = "none"
disk_size = "4G"
headless = true
iso_checksum = var.centos9_stream_sha256sum_url
iso_checksum = "file:${var.centos9_stream_sha256sum_url}"
iso_url = var.centos9_stream_iso_url
memory = 2048
qemuargs = [["-serial", "stdio"], ["-cpu", "host"]]
Expand Down
Loading