You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a completely variable setup that allows me to generate similar machines but the names, hostname, etc are controlled by startup flags.
namespace="learningbird"ssh_user="lb-user"machine_type="app"beginopts.eachdo |opt,arg|
caseoptwhen'--namespace'namespace=argwhen'--machine-type'machine_type=argendendrescueGetoptLong::InvalidOption=>e# Do nothing, we want vagrant to process its own parameters tooend
This allows me to have only one definition in my file like so:
But because of that, i think, the machines that hostmanager sees are always and only the 1 machine that i brought up. So this means that my hosts file is always getting rewritten with the latest machine i am bringing up which is kinda annoying.
Is there anything i can do about that?
The text was updated successfully, but these errors were encountered:
I made a completely variable setup that allows me to generate similar machines but the names, hostname, etc are controlled by startup flags.
This allows me to have only one definition in my file like so:
But because of that, i think, the machines that hostmanager sees are always and only the 1 machine that i brought up. So this means that my hosts file is always getting rewritten with the latest machine i am bringing up which is kinda annoying.
Is there anything i can do about that?
The text was updated successfully, but these errors were encountered: