Skip to content
This repository has been archived by the owner on Jul 29, 2018. It is now read-only.

adbinfo should be possible to evaluate in shell #111

Closed
maxandersen opened this issue Oct 30, 2015 · 1 comment
Closed

adbinfo should be possible to evaluate in shell #111

maxandersen opened this issue Oct 30, 2015 · 1 comment

Comments

@maxandersen
Copy link

currently adbinfo output things like:

Set the following environment variables to enable access to the
docker daemon running inside of the vagrant virtual machine:

export DOCKER_HOST=tcp://127.0.0.1:2379
export DOCKER_CERT_PATH=/root/vagrant/adb/.vagrant/machines/default/virtualbox/.docker
export DOCKER_TLS_VERIFY=1
export DOCKER_MACHINE_NAME="8606567"

Since the first text are not comments you can not do this:

eval "$(vagrant adb-info)"

Thus I suggest the output instead should be:

export DOCKER_HOST=tcp://127.0.0.1:2379
export DOCKER_CERT_PATH=/root/vagrant/adb/.vagrant/machines/default/virtualbox/.docker
export DOCKER_TLS_VERIFY=1
export DOCKER_MACHINE_NAME="8606567"
# run this command to configure your shell:
# eval "$(vagrant adb-info)"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants