We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
I have a p9 synced_folder that should be writable from the guest however it is readonly.
p9
To Reproduce
gem fetch vagrant-libvirt --version 0.12.2 vagrant plugin install vagrant-libvirt-0.12.2.gem
vagrant up --no-provision
vagrant ssh
cd releases
touch asd.txt
Use this vagrant file:
Expected behavior The folder /home/vagrant/releases should be writable inside the guest.
/home/vagrant/releases
Screenshots
Versions (please complete the following information)::
8.0.0
vagrant version
2.2.19
2.2.19+dfsg-1ubuntu1
vagrant plugin list
vagrant-libvirt (0.12.2, global) - Version Constraint: 0.12.2
Debug Log
Command: VAGRANT_LOG=debug vagrant up --no-provision --provider=libvirt >vagrant.log 2>&1
VAGRANT_LOG=debug vagrant up --no-provision --provider=libvirt >vagrant.log 2>&1
vagrant.log
A Vagrantfile to reproduce the issue:
# Using NFS requires elevated privileges on the host machine, p9 may have # permission issues when attempting to write from the guest to the host. use_nfs = false Vagrant.configure("2") do |config| config.vm.box = "generic/ubuntu2004" config.vm.hostname = "ubuntu" config.vm.provider :libvirt do |domain| domain.uri = 'qemu+unix:///system' domain.driver = 'kvm' domain.cpus = 4 domain.memory = 8192 domain.graphics_type = "none" end if use_nfs config.vm.synced_folder "./releases", "/home/vagrant/releases", type: "nfs", nfs_udp: false, nfs_version: 4 else config.vm.synced_folder "./releases", "/home/vagrant/releases", type: "9p", disabled: false, accessmode: "mapped", readonly: false, access: "1000", mount: true end config.vm.provision "shell", path: "bootstrap.sh", privileged: false, keep_color: false end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
I have a
p9
synced_folder that should be writable from the guest however it is readonly.To Reproduce
vagrant up --no-provision
vagrant ssh
cd releases
touch asd.txt
(fails - read only file system)Use this vagrant file:
Expected behavior
The folder
/home/vagrant/releases
should be writable inside the guest.Screenshots
Versions (please complete the following information)::
8.0.0
vagrant version
]:2.2.19
2.2.19+dfsg-1ubuntu1
vagrant plugin list
]:Debug Log
Command:
VAGRANT_LOG=debug vagrant up --no-provision --provider=libvirt >vagrant.log 2>&1
vagrant.log
A Vagrantfile to reproduce the issue:
The text was updated successfully, but these errors were encountered: