Move to external boot files
This commit is contained in:
+11
-1
@@ -49,11 +49,16 @@ variable "build" {
|
||||
default = "0.1"
|
||||
}
|
||||
|
||||
variable "cd_files" {
|
||||
variable "cd_content" {
|
||||
type = map(string)
|
||||
default = {}
|
||||
}
|
||||
|
||||
variable "cd_files" {
|
||||
type = list(string)
|
||||
default = []
|
||||
}
|
||||
|
||||
variable "cd_label" {
|
||||
type = string
|
||||
default = "cidata"
|
||||
@@ -64,6 +69,11 @@ variable "http_files" {
|
||||
default = {}
|
||||
}
|
||||
|
||||
variable "http_directory" {
|
||||
type = string
|
||||
default = ""
|
||||
}
|
||||
|
||||
locals {
|
||||
name = "${var.distro}-${var.version}-${var.arch}"
|
||||
description = templatefile("../README.box.md", {
|
||||
|
||||
@@ -33,6 +33,8 @@ source "qemu" "x86_64" {
|
||||
accelerator = var.qemu_accelerator
|
||||
|
||||
http_content = var.http_files
|
||||
cd_content = var.cd_files
|
||||
http_directory = var.http_directory
|
||||
cd_content = var.cd_content
|
||||
cd_files = var.cd_files
|
||||
cd_label = var.cd_label
|
||||
}
|
||||
|
||||
@@ -28,6 +28,8 @@ source "virtualbox-iso" "x86_64" {
|
||||
]
|
||||
|
||||
http_content = var.http_files
|
||||
cd_content = var.cd_files
|
||||
http_directory = var.http_directory
|
||||
cd_content = var.cd_content
|
||||
cd_files = var.cd_files
|
||||
cd_label = var.cd_label
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user