-
-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hi,
More of a help request...
I use Rocky 9 been installing elrepro to get old 9p VirtFS support, been able to build packer box with proper kernel and activate the modules and getting everything to work when issuing commands on the CLI, like this is working:
sudo mount -t 9p -o trans=virtio,version=9p2000.L,msize=1048576 share /vagrantI have this line in mtab
`share /vagrant 9p rw,relatime,access=client,msize=512000,trans=virtio 0 0``
Which render the mount permanent in vagrant if I move it into fstab
But anytime I use:
def set_vm_properties(config, properties)
config_vmware(config, properties) if properties['provider'] == 'vmware'
config_virtualbox(config, properties) if properties['provider'] == 'virtualbox'
config_utm(config, properties) if properties['provider'] == 'utm'
end
...
def config_utm(config, properties)
config.vm.provider 'utm' do |v|
v.memory = properties['ram']
v.cpus = properties['cpu']
v.memorybacking :access, mode: 'shared'
v.management_network_address = '10.10.255.1/24'
end
config.vm.synced_folder ".", "/vagrant", type: "9p", mount_options: ["trans=virtio", "version=9p2000.L", "msize=1048576"]
end
I am getting that message:
The synced folder type '9p' is reporting as unusable for
your current setup. Please verify you have all the proper
prerequisites for using this shared folder type and try again.
I wonder where it is coming from your plugin or UTM not sure how to force the mount or if it is even possible, otherwise I guess I can just run a in line command and set the fstab properly and proceed with a provision command to complete the proper boot up the first time but it is kind of annoying having to do that as I feel so close of the solution...
I would use virtiofs but it been very reluctant to work (I mean couldn't make it works on MacOS M4) and if I go in the UTM UI the only option I have is Webdav or VirtFS that is why I opted for 9p.
Thanks for any pointer help...
Regards