Skip to content

Commit ad6c5ae

Browse files
Merge pull request #12 from sluetze/fix_volume_naming
fix whitespace in volume names
2 parents 3912952 + b2ce11f commit ad6c5ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: storage.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ resource "libvirt_volume" "volume-qcow2" {
2020

2121
resource "libvirt_cloudinit_disk" "commoninit" {
2222
count = var.vm_count
23-
name = format("${var.vm_hostname_prefix}_init%2d.iso", count.index + 1)
23+
name = format("${var.vm_hostname_prefix}_init%02d.iso", count.index + 1)
2424
user_data = data.template_cloudinit_config.init_config[count.index].rendered
2525
network_config = data.template_file.network_config[count.index].rendered
2626
pool = var.pool

0 commit comments

Comments
 (0)