commit cf45ef05a01665e2663c18c3efb4a4bb8d6fcb5c
parent 143316179abe40e5927dfeae90f0ce5fc85e3303
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date: Sun, 14 Nov 2021 01:40:13 +0100
remove comment
Diffstat:
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/libvirt/terraform/vms-type2.tf b/libvirt/terraform/vms-type2.tf
@@ -1,5 +1,4 @@
resource "libvirt_volume" "base_volume_type2" {
-# resource "libvirt_volume_type2" "volume" {
name = "${var.project}-base-type2"
pool = libvirt_pool.pool.name
source = var.baseimage_type2
@@ -59,4 +58,4 @@ resource "libvirt_domain" "hosts_type2" {
listen_type = "address"
autoport = true
}
-}
-\ No newline at end of file
+}
diff --git a/libvirt/terraform/vms.tf b/libvirt/terraform/vms.tf
@@ -20,7 +20,6 @@ resource "libvirt_pool" "pool" {
# backing image to save disk space for multiple vms
# https://kashyapc.fedorapeople.org/virt/lc-2012/snapshots-handout.html
resource "libvirt_volume" "base_volume" {
-# resource "libvirt_volume" "volume" {
name = "${var.project}-base"
pool = libvirt_pool.pool.name
source = var.baseimage
@@ -206,4 +205,4 @@ resource "null_resource" "update_cloudinit" {
# recreate cloudinit config
command = "echo '${templatefile("${path.module}/templates/cloud_init.cfg.tpl", { public_key = tls_private_key.id_rsa.public_key_openssh })}' > ./cloud_init.cfg"
}
-}
-\ No newline at end of file
+}