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
https://gist.github.com/polocto/b6b8e3a2ccd7fa8d7033df332ad00a79
Expected behavior is to have my local folder synced into my vm
drwxr-xr-x 2 vagrant vagrant 4096 Jan 17 15:25 data
The folder is created and logged as sync but the files inside the shared folder are not synced into the vm
drwxr-xr-x 2 root root 4096 Jan 17 15:25 data
Vagrant 2.4.3
Chip : Apple M2 Ram : 8Go macOs Sequoia 15.2
uname -r 24.2.0
Static hostname: ubuntu Icon name: computer-vm Chassis: vm Machine ID: fef9c27f1bb74f5c81d1e799f5941e9c Boot ID: 5f8e6e81beee49a0b036e253726a45c8 Virtualization: qemu Operating System: Ubuntu 22.04.5 LTS Kernel: Linux 5.15.0-76-generic Architecture: arm64
require 'rbconfig' def os @os ||= ( host_os = RbConfig::CONFIG['host_os'] case host_os when /mswin|msys|mingw|cygwin|bccwin|wince|emc/ :windows when /darwin|mac os/ :macosx when /linux/ :linux when /solaris|bsd/ :unix else raise Error::WebDriverError, "unknown os: #{host_os.inspect}" end ) end Vagrant.configure("2") do |config| config.vm.define "mypi.server.local" if os == :macosx config.vm.box = "perk/ubuntu-2204-arm64" config.vm.provider "qemu" do |qe| qe.ssh_port = "50022" qe.memory = 2048 end else config.vm.box = "bento/ubuntu-24.04" config.vm.provider "virtualbox" do |vb| vb.name = "raspberrypi.server.local" vb.memory=2048 vb.cpus = 2 end end config.vm.box_check_update = false config.vm.network "private_network", ip: "192.168.56.10" config.vm.synced_folder "./data", "/home/vagrant/data", type: "smb", smb_host: "127.0.0.1" config.vm.provision "ansible" do |ansible| ansible.playbook = "playbook/run.yml" ansible.compatibility_mode = "2.0" end end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Debug output
https://gist.github.com/polocto/b6b8e3a2ccd7fa8d7033df332ad00a79
Expected behavior
Expected behavior is to have my local folder synced into my vm
Actual behavior
The folder is created and logged as sync but the files inside the shared folder are not synced into the vm
Reproduction information
Vagrant version
Vagrant 2.4.3
Host operating system
Chip : Apple M2
Ram : 8Go
macOs Sequoia 15.2
Guest operating system
Static hostname: ubuntu
Icon name: computer-vm
Chassis: vm
Machine ID: fef9c27f1bb74f5c81d1e799f5941e9c
Boot ID: 5f8e6e81beee49a0b036e253726a45c8
Virtualization: qemu
Operating System: Ubuntu 22.04.5 LTS
Kernel: Linux 5.15.0-76-generic
Architecture: arm64
Steps to reproduce
Vagrantfile
The text was updated successfully, but these errors were encountered: