Skip to content
New issue

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

Functionality for Linux Host - SMB Shared Folders #11

Closed
salderma opened this issue Mar 28, 2022 · 1 comment
Closed

Functionality for Linux Host - SMB Shared Folders #11

salderma opened this issue Mar 28, 2022 · 1 comment

Comments

@salderma
Copy link

Hi,
I'm curious... the README shows examples of using this project with either virtualbox or libvirt, yet the Vagrant Sync'd Folders are SMB based, which limits host OS's to Windows or Mac OSX. I notice in the Packer projects for building your base boxes, that rsync is installed on the windows boxes. Will rsync not work for this effort?

I run Linux as my host platform and was really looking to build off your work to include adding Windows AD infrastructure into my Vagrant multi-system infrastructure models.

@rgl
Copy link
Owner

rgl commented Mar 28, 2022

SMB sync folders also work in linux (e.g. ubuntu) after you apply the patch from hashicorp/vagrant#9948

You can see that patch being applied to vagrant in one of:

  1. https://github.com/rgl/xfce-desktop-vagrant/blob/1a6e14dfd25a955f2474f4b5c1cd2c69e16dbc04/provision-virtualization-tools.sh#L87-L98
  2. https://github.com/rgl/infra-toolbox/blob/a6a9393be6ebbc4b9e5c9169f0a63103b99af513/playbooks/roles/vagrant/tasks/main.yml#L49-L71

Sometime I want to use a real share to share files between the guest and the host (like in this windows-domain-controller-vagrant repository, where the guest copies the ExampleEnterpriseRootCA.der file to the host). For those cases rsync is not appropriate as it normally only copies files from the host to the guest.

@rgl rgl closed this as completed Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants