Move almost everything over to Nix
Eliminate Xonsh usage Eliminate usage of the supports.yml files for default.nix Point ISOs directly to MinIO URLs instead
This commit is contained in:
@@ -109,6 +109,16 @@ variable "vbox_os_type" {
|
||||
default = "Linux_64"
|
||||
}
|
||||
|
||||
variable "storage_url" {
|
||||
type = string
|
||||
default = env("STORAGE_URL")
|
||||
}
|
||||
|
||||
variable "minio_secret" {
|
||||
type = string
|
||||
default = env("MINIO_SECRET")
|
||||
}
|
||||
|
||||
locals {
|
||||
name = "${var.distro}-${var.version}"
|
||||
description = templatefile("../README.box.md", {
|
||||
|
||||
@@ -4,7 +4,7 @@ variable "qemu_accelerator" {
|
||||
}
|
||||
|
||||
source "qemu" "amd64" {
|
||||
iso_urls = [ "cache/${basename(var.iso.url)}" ]
|
||||
iso_urls = [ "s3::${var.storage_url}isos/cache/${basename(var.iso.url)}?aws_access_key_id=root&aws_access_key_secret=${var.minio_secret}" ]
|
||||
iso_target_path = "cache/${basename(var.iso.url)}"
|
||||
iso_checksum = var.iso.checksum
|
||||
output_directory = "output/libvirt/${local.name}"
|
||||
|
||||
Reference in New Issue
Block a user