This repository was archived by the owner on Feb 11, 2022. It is now read-only.

Description
Prior to Vagrant 1.1, the documentation stated that a :create flag could be passed in config.vm.sync_folders to create the directory on a host if it did not already exist. In Vagrant 1.1, the documentation is not clear about the status of this flag but it does create the host directory with the VirtualBox provider.
With the AWS provider, however, the user is presented with the following error if the host directory does not exist (with or without a :create flag present):
[default] Rsyncing folder: /home/chooper/docker/ => ~/docker
There was an error when attemping to rsync a share folder.
Please inspect the error message below for more info.
Host path: /home/chooper/docker/
Guest path: ~/docker
Error: rsync: change_dir "/home/chooper/docker" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1070) [sender=3.0.9]
To clearly restate, the expected behavior is for the directory to be created on the host prior to the attempted rsync.