feat(docs/troubleshooting): set xoa SSH password (#5798)

This commit is contained in:
Yannick Achy
2021-06-02 09:50:29 +02:00
committed by GitHub
parent c5a769cb29
commit cbd650c5ef
2 changed files with 11 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ Once you have started the VM, you can access the web UI by putting the IP you co
:::tip
- Default Web UI credentials are `admin@admin.net` / `admin`
- Default console/SSH credentials are `xoa` / `xoa` (first login)
- Default console/SSH credentials are not set, you need to set them [as described here](troubleshooting.md#set-or-recover-xoa-vm-password).
:::
### Registration

View File

@@ -16,6 +16,16 @@ It means you don't have a default SR set on the pool you are importing XOA on. T
XOA uses HVM mode. If your physical host doesn't support virtualization extensions, XOA won't work. To check if your XenServer supports hardware assisted virtualization (HVM), you can enter this command in your host: `grep --color vmx /proc/cpuinfo`. If you don't have any result, it means XOA won't work on this hardware.
## Set or recover XOA VM password
As no password is set for the xoa system user by default, you will need to set your own. This can be done via the XenStore data of the VM. The following is to be ran on your XCP-ng host:
```
xe vm-param-set uuid=<UUID> xenstore-data:vm-data/system-account-xoa-password=<password>
```
Where UUID is the uuid of your XOA VM.
Then you need to restart the VM.
## Recover web login password
If you have lost your password to log in to the XOA webpage, you can reset it. From the XOA CLI (for login/access info for the CLI, [see here](xoa.md#first-console-connection)), use the following command and insert the email/account you wish to recover: