How to configure my ubuntu 18.04 with sandbox virtualbox


(Najeh Nafti) #1

I install opennebula sandbox virtualbox in my ubuntu 18.04. I create a java program in eclipse IDE that uses the opennebula API to allocate a virtual machine, but when i execute the class as a java program i obtain this error: " ONE_AUTH file not present."
I created a file /var/lib/one/.one/one_auth which contain login:password
and i create the environment varibale export ONE_AUTH=oneadmin:oneadmin
and export ONE_XMLRPC=https://localhost:2633/RPC2
But i still having the same problem in my IDE console " ONE_AUTH file not present."

what should i do?