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
so you could do something like that, and you won't need to chown/chmod away, or
even add that check on l-d-t to allow running as root.
This looks awesome!
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 deployment- tool setup -nd' deployment- tool install -nd development'
cd $basedir
su vagrant -c './lava-
su vagrant -c './lava-
fi
so you could do something like that, and you won't need to chown/chmod away, or
even add that check on l-d-t to allow running as root.
-- www.linaro. org
Antonio Terceiro
Software Engineer - Linaro
http://