On Tue, Feb 05, 2013 at 06:46:22PM -0000, Andy Doan wrote:
> On 02/05, Antonio Terceiro wrote:
> > One general comment: you don't need to run l-d-t as root. I did the following
> > on the vagrant-bootstrap script inside the l-d-t repo:
> >
> > if ! test -d /srv/lava/instances/development; then
> > cd $basedir
> > su vagrant -c './lava-deployment-tool setup -nd'
> > su vagrant -c './lava-deployment-tool install -nd development'
> > fi
>
> You must be setting up your "vagrant" user to allow password-less sudo?
> We don't do that for our instance-manager and it seems a little scare
> (to me) to allow that.
in that case we could setup password-less sudo for instance-manager
exclusively for running the lava-deployment-tool command.
On Tue, Feb 05, 2013 at 06:46:22PM -0000, Andy Doan wrote: instances/ development; then deployment- tool setup -nd' deployment- tool install -nd development'
> On 02/05, Antonio Terceiro wrote:
> > One general comment: you don't need to run l-d-t as root. I did the following
> > on the vagrant-bootstrap script inside the l-d-t repo:
> >
> > if ! test -d /srv/lava/
> > cd $basedir
> > su vagrant -c './lava-
> > su vagrant -c './lava-
> > fi
>
> You must be setting up your "vagrant" user to allow password-less sudo?
> We don't do that for our instance-manager and it seems a little scare
> (to me) to allow that.
in that case we could setup password-less sudo for instance-manager -tool command.
exclusively for running the lava-deployment
-- www.linaro. org
Antonio Terceiro
Software Engineer - Linaro
http://