File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 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
3030|vcpu|Number of vCPUs|1
3131|pool|Storage pool name|default
3232|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
3335|dhcp|Use DHCP or Static IP settings|false
3436|ip_address|"List of static IP addresses|[ "192.168.123.101" ]
3537|ip_nameserver|Static IP addresses of a nameserver|192.168.123.1
@@ -147,6 +149,8 @@ output "outputs" {
147149}
148150```
149151
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+
150154## Module output example
151155
152156``` hcl
You can’t perform that action at this time.
0 commit comments