Skip to content

Commit

Permalink
Rephrase the documenation of exploring host directories
Browse files Browse the repository at this point in the history
Signed-off-by: Ondra Machacek <[email protected]>
  • Loading branch information
machacekondra committed Oct 30, 2024
1 parent 5aff529 commit a6481c6
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions doc/agentvm.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,17 @@ $ systemctl --user status planner-agent
```

### Inspecting the host directory with data
The ignition create a `.migration-planner` directory in `core` user home directory.
This directory should contain all relevant data, so in order to find misconfiguration please search in this directory.
When the virtual machine boots, ignition creates the `.migration-planner` directory in the `core` user's home directory.
This directory contains two subdirectories: `data` and `config`.
The `data` directory contains a `credentials.json` file, which is created when the user enters their vCenter credentials.
It also contains an `inventory.json` file, which is created by the `planner-agent` service when vCenter data is fetched.
The `config` directory contains a `config.yaml` file, which is created by ignition and contains configuration for the
`planner-agent` service.

To explore the data and configuration created and used by `planner-agent`:
```
$ ls -l .migration-planner
$ ls -l /home/core/.migration-planner/data
$ cat /home/core/.migration-planner/config/config.yaml
```

### Check logs of the services
Expand Down

0 comments on commit a6481c6

Please sign in to comment.