File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ Terraform module for KVM/Libvirt Virtual Machine. This module will create a KVM
30
30
|vcpu|Number of vCPUs|1
31
31
|pool|Storage pool name|default
32
32
|system_volume|System Volume size (GB)|10
33
+ |share_filesystem.source|Directory of the host to be shared with the VM|null
34
+ |share_filesystem.target|Tag that is exported to the VM as a hint for where to mount the source|null
33
35
|dhcp|Use DHCP or Static IP settings|false
34
36
|ip_address|"List of static IP addresses|[ "192.168.123.101" ]
35
37
|ip_nameserver|Static IP addresses of a nameserver|192.168.123.1
@@ -147,6 +149,8 @@ output "outputs" {
147
149
}
148
150
```
149
151
152
+ The shared directory from the example can be mounted inside the VM with command ` sudo mount -t 9p -o trans=virtio,version=9p2000.L,rw tmp /host/tmp `
153
+
150
154
## Module output example
151
155
152
156
``` hcl
You can’t perform that action at this time.
0 commit comments