What is your preferred approach had you configured the machine by hand? Do that, with a shell script provisioner.
Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi [email protected] | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates ((λ (x) (x x)) (λ (x) (x x))) “Life has become immeasurably better since I have been forced to stop taking it seriously.” --Thompson On Fri, May 30, 2014 at 5:59 PM, Stephen Wood <[email protected]> wrote: > Is there some immutable I can check to determine if I am in a vagrant > virtual environment? > > I'd like to set a custom grain with saltstack, but none of my ideas quite > hit the spot: > > 1. Check if /home/vagrant exists (but what if the user is deleted?) > 2. grep vboxguest /proc/misc (What if we're using vmware?) > 3. ?? > > How would you guys determine if a host is indeed a vagrant virtualized > environment. > > -- > 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]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.
