On 11/12/2015 10:22 AM, Walid wrote:
Hi,

it does not seem to work for me, I mean the simple instructions as in
the announcement.

[vagrant@agent1 ~]$ scl -l
rh-ror41
rh-ruby22
sclo-vagrant1

[vagrant@agent1 ~]$ which vagrant
/usr/bin/which: no vagrant in
(/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/puppetlabs/bin:/root/bin:/usr/local/bin:/opt/puppet/bin)


[vagrant@agent1 ~]$ sudo scl enable sclo-vagrant1 "which vagrant"
/opt/rh/sclo-vagrant1/root/usr/bin/vagrant



[vagrant@agent1 ~]$ sudo scl enable sclo-vagrant1 "bash"
[root@agent1 vagrant]# vagrant
bash: vagrant: command not found

Well, this is where my experience differs, it works fine in my environment:
[hhorak@hhorak ~]$ sudo scl enable sclo-vagrant1 "bash"
[root@hhorak ~]# vagrant
Usage: vagrant [options] <command> [<args>]
...

Is there anything special in your environment, especially around environment variables?

[root@agent1 vagrant]# /opt/rh/sclo-vagrant1/root/usr/bin/vagrant

This is expected, that in case vagrant is not found on PATH, then it won't work either when running with full path.

Honza

--
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/56446D20.6070108%40redhat.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to