mirror of
https://github.com/khuedoan/homelab.git
synced 2025-03-10 12:51:28 +07:00
Fix VM secure boot
This commit is contained in:
parent
c6736e8bde
commit
b391ee5be3
@ -92,6 +92,9 @@ resource "lxd_profile" "worker_profile" {
|
||||
"limits.cpu" = 2
|
||||
"limits.memory" = "4GiB"
|
||||
"limits.memory.swap" = false
|
||||
# TODO (bug) Enable secure boot for VMs
|
||||
# lstat /usr/share/edk2/ovmf/OVMF_VARS.ms.fd: no such file or directory
|
||||
"security.secureboot" = false
|
||||
"user.user-data" = <<-EOT
|
||||
#cloud-config
|
||||
ssh_authorized_keys:
|
||||
|
@ -17,6 +17,7 @@ resource "lxd_container" "vpn" {
|
||||
|
||||
config = {
|
||||
"user.access_interface" = "enp5s0"
|
||||
"security.secureboot" = false
|
||||
"user.user-data" = templatefile(
|
||||
"${path.module}/cloud-init.yaml.tpl",
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user