Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rephrase the documenation of exploring host directories #54

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading