summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Janczyk2023-06-14 17:00:01 +0200
committerMichael Janczyk2023-06-14 17:00:01 +0200
commit1272a332e40289f5a15ede274f0c7754e22b139f (patch)
tree701ca9afd75f6c39fcc3ac591ef6a616b0faad8e
parentremove iso_checksum_type and rename iso_checksum_url to iso_checksum as neede... (diff)
downloadpacker-templates-1272a332e40289f5a15ede274f0c7754e22b139f.tar.gz
packer-templates-1272a332e40289f5a15ede274f0c7754e22b139f.tar.xz
packer-templates-1272a332e40289f5a15ede274f0c7754e22b139f.zip
centos-8: update links and config.
-rw-r--r--centos-8-x86_64.json10
1 files changed, 4 insertions, 6 deletions
diff --git a/centos-8-x86_64.json b/centos-8-x86_64.json
index 8866b02..4d70f93 100644
--- a/centos-8-x86_64.json
+++ b/centos-8-x86_64.json
@@ -1,9 +1,7 @@
{
"variables": {
- "iso_base_url": "https://mirrors.edge.kernel.org/centos/8/isos/x86_64",
- "iso_url": "{{ user `iso_base_url` }}/CentOS-8.1.1911-x86_64-boot.iso",
- "iso_checksum_url": "{{ user `iso_base_url` }}/CHECKSUM",
- "iso_checksum_type": "sha256",
+ "iso_url": "https://mirror1.hs-esslingen.de/pub/Mirrors/centos/8-stream/isos/x86_64/CentOS-Stream-8-x86_64-latest-boot.iso",
+ "iso_checksum": "https://mirror1.hs-esslingen.de/pub/Mirrors/centos/8-stream/isos/x86_64/CHECKSUM",
"vm_name": "centos-8-x86_64",
"boot_wait": "5s",
"http_dir": "http",
@@ -15,8 +13,7 @@
"type": "qemu",
"accelerator": "kvm",
"iso_url": "{{ user `iso_url` }}",
- "iso_checksum_url": "{{ user `iso_checksum_url` }}",
- "iso_checksum_type": "{{ user `iso_checksum_type` }}",
+ "iso_checksum": "file:{{ user `iso_checksum` }}",
"output_directory": "{{ user `output_directory` }}",
"vm_name": "{{ user `vm_name` }}",
"format": "qcow2",
@@ -37,6 +34,7 @@
"<enter>"
],
"qemuargs": [
+ ["-cpu", "host"],
["-m", "{{ user `memory` }}"],
["-smp", "{{ user `cpus` }}"]
]