Once you have connected to the Operations Manager CLI for the first time (username root, password default), you may perform initial setup tasks from the CLI.
Any additional configuration tasks may performed either using the web UI, or the ogcli command line tool.
Change the IP address on NET1
Upon login, a banner displays NET1's current network addresses:
To set an alternative static IP address (and optionally DNS and default route), e.g. to make the Operations Manager reachable for ongoing configuration, run:
sudo ogcli update conn net1 <<'END'
Network address information for all interfaces may be displayed by running:
sudo ip address show
Set the root password
On first login, you are prompted to change the default root password. To change the root password at any other time, run:
sudo ogcli update user root 'password="oursecret"'
Create an admin account
For ongoing configuration, we recommend using separate administrator accounts rather than sharing the default root account. Once admin accounts have been created, the root account may be disabled from logging in.
Create a new administrator account:
sudo ogcli create user <<'END'
Login as the new administrator, then disable the root account from logging in:
sudo ogcli update user root 'enabled=false'