Skip to content

Commit d6dfd6c

Browse files
Remove unused variable
1 parent 625695a commit d6dfd6c

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Terraform module for KVM/Libvirt Virtual Machine. This module will create a KVM
99

1010
- creates one or more VMs
1111
- one NIC per domain, connected to the network using the **bridge interface**
12-
- setup network interface using DHCP or static
12+
- setup network interface using DHCP or static configuration
1313
- cloud_init VM(s) configuration (Ubuntu+Netplan complient)
1414
- test the ssh connection
1515

@@ -21,7 +21,6 @@ Terraform module for KVM/Libvirt Virtual Machine. This module will create a KVM
2121

2222
| Parameter | Description | Default value
2323
|-----------------|-----|-----
24-
|libvirt_disk_path| Path to libvirt Disk pool|/mnt/terra
2524
|os_img_url|URL to the OS image|https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img
2625
|vm_count|Number of VMs| 1
2726
|vm_hostname_prefix|VM hostname prefix|vm
@@ -159,7 +158,7 @@ output_data = {
159158
"ip_address" = [
160159
"192.168.165.151",
161160
"192.168.165.152",
162-
"192.168.165.152",
161+
"192.168.165.153",
163162
]
164163
"name" = [
165164
"server01",

modules/virt-machine/variables.tf

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
variable "libvirt_disk_path" {
2-
description = "Path to libvirt Disk pool"
3-
default = "/mnt/terra"
4-
}
5-
61
variable "os_img_url" {
72
description = "URL to the OS image"
83
default = "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img"

0 commit comments

Comments
 (0)