Skip to content

Instantly share code, notes, and snippets.

View Prashanth684's full-sized avatar

Prashanth Sundararaman Prashanth684

View GitHub Profile
"storage":{
"disks":[
{
"device":"/dev/sdc",
"wipeTable":false,
"partitions":[
{
"label":"containerraid1",
"number":0,
"start":0,
diff --git a/pkg/controller/template/render.go b/pkg/controller/template/render.go
index fee59799..537af330 100644
--- a/pkg/controller/template/render.go
+++ b/pkg/controller/template/render.go
@@ -7,6 +7,7 @@ import (
"os"
"path/filepath"
"regexp"
+ "runtime"
"sort"
diff --git a/data/data/libvirt/bootstrap/main.tf b/data/data/libvirt/bootstrap/main.tf
index 2b70f448b..70e52aa04 100644
--- a/data/data/libvirt/bootstrap/main.tf
+++ b/data/data/libvirt/bootstrap/main.tf
@@ -13,7 +13,7 @@ resource "libvirt_ignition" "bootstrap" {
resource "libvirt_domain" "bootstrap" {
name = "${var.cluster_id}-bootstrap"
- memory = "2048"
+ memory = "${var.bootstrap_memory}"
diff --git a/cmd/kola/testiso.go b/cmd/kola/testiso.go
index 116c4c93..c437d514 100644
--- a/cmd/kola/testiso.go
+++ b/cmd/kola/testiso.go
@@ -111,6 +111,7 @@ func testLegacyInstaller() error {
networkdevice = "virtio-net-ccw"
tftpipaddr = "10.0.2.2"
bootindex = "1"
+ builder.Memory = 16384
default: