I want to create image server.
I added remote using ~/.config/lxc/config.yml
I created a script for generating config.yml with remote I need before installing lxd.
This way user doesn’t need to configure remotes with lxc remote add.
I can see my remote using lxc remote list.
But when I connect to remote I get a error:
Error: Get https://public_ip:8443/1.0: x509: certificate is valid for private_ip, not public_ip
When I use lxc remote add command everything works fine. But for me better to use config.yml.
Is there any way to solve this problem?