terminal-labs / rambo

A Provider Agnostic Provisioning Framework
Other
24 stars 5 forks source link

aws share issue #367

Open verhulstm opened 4 years ago

verhulstm commented 4 years ago

Bringing machine 'default' up with 'aws' provider... ==> default: Box 'dummy' could not be found. Attempting to find and install... default: Box Provider: aws default: Box Version: >= 0 ==> default: Box file was not detected as metadata. Adding it directly... ==> default: Adding box 'dummy' (v0) for provider: aws default: Downloading: https://github.com/mitchellh/vagrant-aws/raw/master/dummy.box

Progress: 0% (Rate: 0*/s, Estimated time remaining: --:--:--)

Progress: 100% (Rate: 547/s, Estimated time remaining: --:--:--)

==> default: Successfully added box 'dummy' (v0) for 'aws'! ==> default: Preparing SMB shared folders... default: You will be asked for the username and password to use for the SMB default: folders shortly. Please use the proper username/password of your default: account. default:
default: Username (user[@domain]):

nixjdm commented 4 years ago

On an unmodified new project I don't reproduce this. I'll need more instructions to reproduce.

verhulstm commented 4 years ago

by default, aws trys to use samba shares. to make it use rsync i created this config file

[up] provider = ec2 guest_os = ubuntu-1604 sync_type = rsync sync_dirs = [["saltstack/etc", "/etc/salt"], ["saltstack/srv", "/srv"]] command = bash /vagrant/provision.sh

nixjdm commented 4 years ago

I don't see that. For me, with the default createproject and rambo up -p ec2, it uses rsync, which is also the plugin's default https://github.com/mitchellh/vagrant-aws#synced-folders

Do you have an old version of the plugin? rambo vagrant plugin list will list them. I've got vagrant-aws (0.7.2, global). Something is setting it to Samba for you probably, but I don't know what.

verhulstm commented 4 years ago

yes, vagrant-aws (0.7.2, global)