Update host name of the XO VM
-
Hello, everyone.
I guess when I installed XO I had a different name set for the VM host and late on I changed it to something else.
I am trying to get the list of available objects by runningxo-cli list-objectsI get errors returned which point to the wrong host name and DNS errors:✖ Error: getaddrinfo ENOTFOUND xo1.my-domain.com at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) { code: 'ENOTFOUND', errno: -3008, hostname: 'xo1.my-domain.com', syscall: 'getaddrinfo' }My new host name is xo1-xyz.my-domain.com. What and where should I update to get the CLI working again?
Thank you very much
-
Just re-register it

-
@olivierlambert Please, how? Not getting my head around it. Thank you
-
@Ascar I suspect that Olivier means to register with the XO instance using this syntax --
xo-cli register [--allowUnauthorized] [--expiresIn <duration>] [--otp <otp>] <XO-Server URL> <username> [<password>]You can run
xo-cliwithout any parameters to get the full usage text. -
@Danp Thank you, trying now.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login