Re: [vagrant-up] possible to run rsync/synced_folder with root privilages?

2014-10-30 Thread San
Thanks for the heads up Alvaro! The user that is used to do the remote login for rsync, got full sudo access and there was a company-wide decision we took to put some stuff under the /root location for some security reason. I can do the easily from the command line using a command, equivalent to

Re: [vagrant-up] Different /etc/hosts in Docker Container Depending on Context

2014-10-30 Thread Jamie Jackson
No luck, Alvaro: https://gist.github.com/jamiejackson/16f6ebde9447091fd403#file-no-parallel On Thu, Oct 30, 2014 at 8:17 PM, Alvaro Miranda Aguilera wrote: > Can you try with --no-parallel ? > > On Fri, Oct 31, 2014 at 3:18 AM, Jamie Jackson > wrote: > >> This has me confused: >> >> https://gis

Re: [vagrant-up] Re: View Vagrant provision log other than STDOUT?

2014-10-30 Thread Alvaro Miranda Aguilera
you can test something like "make | tee -a /vagrant/output_blabla.log" I do a lot of test on LXC, so I did a step.sh script https://github.com/kikitux/stagefiles/blob/master/step.sh so I can run step.sh what_i_want and the log goes to what_i_want.log / err replace '>>' with ' | tee -a' and yo

Re: [vagrant-up] Re: MySQL Daemon Does Not Start on Vagrant Reload

2014-10-30 Thread Alvaro Miranda Aguilera
On Fri, Oct 31, 2014 at 9:39 AM, Jamie Jackson wrote: > /usr/bin/mysqld_safe if that command is not daemon, and seems you are using centos you can try this command. service ssh start && /usr/bin/mysqld_safe basically I do in the other way service start && /usr/sbin/sshd -D alvaro. -- You

Re: [vagrant-up] Different /etc/hosts in Docker Container Depending on Context

2014-10-30 Thread Alvaro Miranda Aguilera
Can you try with --no-parallel ? On Fri, Oct 31, 2014 at 3:18 AM, Jamie Jackson wrote: > This has me confused: > > https://gist.github.com/jamiejackson/16f6ebde9447091fd403 > > A linked container is automagically added to /etc/hosts, but only when I > vagrant docker-run it, not when I ssh in. Wh

Re: [vagrant-up] Cannot mount filesystem on OS X Yosemite + VMWare Fusion Professional 7.0

2014-10-30 Thread Golo Roden
I wanted to try option A, but this tool doesn't exist on my system (at least not with this path). Regarding option B: As it worked for Stefan Scherer (see answer below), it shouldn't be the box itself. -- You received this message because you are subscribed to the Google Groups "Vagrant" grou

[vagrant-up] Re: Cannot mount filesystem on OS X Yosemite + VMWare Fusion Professional 7.0

2014-10-30 Thread Golo Roden
I updated the VMware plugin to 3.1.0 and tried again. Still it doesn't work, but now I get a different (more detailled) error message. It says: An error occurred while executing `vmrun`, a utility for controlling > VMware machines. The command and output are below: > Command: ["addSharedFolder",

Re: [vagrant-up] possible to run rsync/synced_folder with root privilages?

2014-10-30 Thread Alvaro Miranda Aguilera
hello, the user that does the ssh is what does the copy.. HOST -> guest user by ssh, say vagrant -> file (owner vagrant) If you can explain a bit more the requirement, I can give you some suggestions, If root user is 100% required, I probably will use a shell provider after the sync, to move an

[vagrant-up] possible to run rsync/synced_folder with root privilages?

2014-10-30 Thread San
I need to be able to sync some stuff in /root directory: Is there a way I can rsync as root-user or with sudo. It's possible with rsync command from the CLI, using --rsync-path="sudo rsync" option. Is it anything similar in Vagrant available? My attempt of using owner: "root", group: "root" in

[vagrant-up] Re: MySQL Daemon Does Not Start on Vagrant Reload

2014-10-30 Thread Jamie Jackson
Here's my current workaround. I don't completely understand why it works, because I arrived at it through trial-and-error, but here it is: *Vagrantfile snippet:* v.vm.provider "docker" do |d| #d.build_dir = "./myproject_db" d.image = "cbanbury/centos-docker" d.has_ssh = tru

Re: [vagrant-up] Re: View Vagrant provision log other than STDOUT?

2014-10-30 Thread anatoly techtonik
I am running some bash scripts during provisioning that invoke makefiles that fetch and build a lot of things producing lots of output. On Thu, Oct 30, 2014 at 11:16 PM, Shawn Neal wrote: > @anatoly The original poster was using Chef, what is it you're doing? > > On Thursday, October 30, 2014 11:

Re: [vagrant-up] Re: View Vagrant provision log other than STDOUT?

2014-10-30 Thread Shawn Neal
@anatoly The original poster was using Chef, what is it you're doing? On Thursday, October 30, 2014 11:06:38 AM UTC-7, anatoly techtonik wrote: > > And I am not using Chef. > > On Thu, Oct 30, 2014 at 8:52 PM, Shawn Neal > wrote: > > Assuming you're already writing the Chef output to a log file

Re: [vagrant-up] Re: View Vagrant provision log other than STDOUT?

2014-10-30 Thread anatoly techtonik
And I am not using Chef. On Thu, Oct 30, 2014 at 8:52 PM, Shawn Neal wrote: > Assuming you're already writing the Chef output to a log file, just ensure > the log is put into the /vagrant folder on the guest. This folder is already > mapped back to the host machine in the same directory as your V

[vagrant-up] Re: View Vagrant provision log other than STDOUT?

2014-10-30 Thread Shawn Neal
Assuming you're already writing the Chef output to a log file, just ensure the log is put into the /vagrant folder on the guest. This folder is already mapped back to the host machine in the same directory as your Vagrantfile. On Wednesday, October 29, 2014 10:29:28 PM UTC-7, anatoly techtonik

Re: [vagrant-up] default: Warning Connection timeout. Retrying...

2014-10-30 Thread Kutakizukari Moarizumoshitoku
Thank you for the help! -- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/o

[vagrant-up] Different /etc/hosts in Docker Container Depending on Context

2014-10-30 Thread Jamie Jackson
This has me confused: https://gist.github.com/jamiejackson/16f6ebde9447091fd403 A linked container is automagically added to /etc/hosts, but only when I vagrant docker-run it, not when I ssh in. What's going on here? Thanks, Jamie -- You received this message because you are subscribed to the

Re: [vagrant-up] default: Warning Connection timeout. Retrying...

2014-10-30 Thread Alvaro Miranda Aguilera
Hello, glad you got it working. The message is just informative, not an error.. is telling you that .. it connect, got disconnected.. not an issue.. could be related to the order of the services in the vm.. but not big deal.. enjoy your vagrant setup Alvaro. On Thu, Oct 30, 2014 at 5:05 PM, Kut

Re: [vagrant-up] could i configure to sync multiple folders ?

2014-10-30 Thread Marco De Bortoli
Hi Adrian, In the line you posted there is no double quote after public_html. Could it be that? I hope it helps, Debo On Thursday, 30 October 2014, Adrian Mak wrote: > My host platform is Windows > I added > config.vm.synced_folder "adrian", "/home/adrian/public_html, owner: > "adrian" > in Va