Commit f168841
authored
feat(api)!: show host endpoint (#85)
`http://d/default/info` returns:
```json
{
"podmanSocketPath": "/Users/danhexon/vm_test/socks/libkrun/bugbox-machine-default-podman-api.sock",
"sshPort": 61234,
"sshUser": "root",
"hostEndpoint": "host.containers.internal"
}
```
BREAKING CHANGE: the `http://d/default/info` returned json array content
is incompatible with the previous json content1 parent 0ca13e0 commit f168841
1 file changed
+14
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
15 | 22 | | |
16 | 23 | | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
22 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
23 | 36 | | |
0 commit comments