I'm running CDKb4 on my Macbook and I'm logged into the CDK (using vagrant
ssh) as root.  After setting the KUBECONFIG environment variable to
/var/lib/origin/openshift.local.config/master/admin.kubeconfig, I tried the
following command:

oc login -u system:admin

At this point I get a prompt to enter a password for the user
"system:admin" which is not what I was expecting.  I then proceeded with
the following command:

oc login -u system:admin https://10.0.2.15:8443

At this point, I was immediately logged in as the system:admin user with
the correct role (cluster-admin).

Can anyone tell me why we have 2 network interfaces: 10.1.2.2 and 10.0.2.15
and what the difference is between them?

Cheers,

-- 
Simon Green
Middleware Specialist Solutions Architect, Red Hat
Desk: +1 978-392-2407 <callto:+1%20978-392-2407>
Cell: +1 646-705-3819 <callto:+1%20646-705-3819>
Email: [email protected]
_______________________________________________
Container-tools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/container-tools

Reply via email to