Retrieve the url of the ManageIQ server

Hello,

I would like to know if it is possible to retrieve the URL of the ManageIQ server where the code is executed.

Thank you for your help.

not the URL directly, but you have access to

$evm.root['miq_server'].name
$evm.root['miq_server'].hostname
$evm.root['miq_server'].ipaddress

# Access the miq_server object via rails console
$evm.vmdb(:miq_server).first

Thank you But for your answer…