ability to specify data share directory
This commit is contained in:
parent
89d7ad537f
commit
a219ce0b2d
3 changed files with 9 additions and 9 deletions
|
@ -40,9 +40,9 @@ runcmd:
|
|||
- dhclient
|
||||
- locale-gen
|
||||
|
||||
%{ if add_data_share }
|
||||
%{ if data_share != null }
|
||||
mounts:
|
||||
- ["data", "/mnt/data", "9p", "trans=virtio,rw", "0", "0"]
|
||||
- ["data", "${data_share}", "9p", "trans=virtio,rw", "0", "0"]
|
||||
%{ endif }
|
||||
|
||||
%{ if fixed_dns != "" }
|
||||
|
|
Reference in a new issue