Skip to content

Flags

The flags section can be used to adjust the default behaviour of nvirt.

Example of flags in a virtfile

flags:
- no-default-volume

no-default-volume

This flag prevents nvirt from setting up the current directory as a virtiofs shared filesystem.

This is useful if you want no shared volumes at all, noting that defining your own volumes will also have the effect of preventing the default volume from being set up.