From 8e7eeaa4dd14621bda15e396fcd7b9187bc500c5 Mon Sep 17 00:00:00 2001 From: Anders F Björklund Date: Sun, 5 Sep 2021 22:16:59 +0200 Subject: Implement virtfs volumes for podman machine MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allow using the built-in 9pfs feature of qemu, mounting host directories into vm mountpoints. The volumes are generic, the mounts are specific. Wait for the machine to be "running", otherwise the SSH function might throw an error instead. Increase the default msize from 8 KiB to 128 KiB [NO NEW TESTS NEEDED] Signed-off-by: Anders F Björklund --- pkg/machine/config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/machine/config.go') diff --git a/pkg/machine/config.go b/pkg/machine/config.go index 4f2947ac0..162ef43e2 100644 --- a/pkg/machine/config.go +++ b/pkg/machine/config.go @@ -18,6 +18,7 @@ type InitOptions struct { DiskSize uint64 IgnitionPath string ImagePath string + Volumes []string IsDefault bool Memory uint64 Name string -- cgit v1.2.3-54-g00ecf