GitHub user mosys0815 added a comment to the discussion: RootCAProvider error 
on management server with L3-network config

yes, I thought so, a one-liner using structured data could like this:

```
ip -j a | jq -r '.[] | .addr_info | map(select(.local == "'"$(ip -j r s default 
| jq -r '.[0] | .prefsrc')"'")) | .[].label'
```

output on my L2-network test virtual machine:
```
~# ip -j a | jq -r '.[] | .addr_info | map(select(.local == "'"$(ip -j r s 
default | jq -r '.[0] | .prefsrc')"'")) | .[].label'
ens3
```

output on L3-network server:
```
~# ip -j a | jq -r '.[] | .addr_info | map(select(.local == "'"$(ip -j r s 
default | jq -r '.[0] | .prefsrc')"'")) | .[].label'
hostip
```

Feel free to use and adapt :)

But for now, is there anything I can do to get the certificate, even manually?


GitHub link: 
https://github.com/apache/cloudstack/discussions/11152#discussioncomment-13680357

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to