You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -68,6 +63,84 @@ curl -k -X POST "https://admin-api.openhvx.local/api/v1/admin/auth/register?mode
68
63
> - Avoid exposing the API key in your shell history: export it to a variable (`export ADMIN_REGISTER_KEY=...`) and use `-H "x-api-key: $ADMIN_REGISTER_KEY"`.
69
64
> - Change the password and registration key in real environments.
70
65
66
+
## Set up the Image Repository (with **openhvx-img**)
67
+
68
+
OpenHVX expects a JSON index describing available base images (cloud-init compatible `.vhdx` files).
69
+
The easiest way to generate this index is via the **[OpenHVX/openhvx-img](https://github.com/OpenHVX/openhvx-img)** tool.
70
+
71
+
### 1) Place your images on a shared path
72
+
73
+
Store your `.vhdx` base images in a shared folder accessible by all Hyper‑V Agents — typically an SMB share.
74
+
75
+
Example layout on the share:
76
+
77
+
```
78
+
\\fileserver\EXAMPLE\
79
+
├─ public/
80
+
│ ├─ Rocky-10-GenericCloud-Base.vhdx
81
+
│ ├─ Ubuntu-22.04-LTS.vhdx
82
+
│ └─ ...
83
+
└─ _index/
84
+
```
85
+
86
+
### 2) Generate the image index
87
+
88
+
Run the `openhvx-img` tool with the `-root` and `-output` options to automatically scan your repository and produce the index file.
0 commit comments