[lxc-users] [SOLVED] lxd not providing port 8443

Mark Constable markc at renta.net
Thu Aug 13 04:42:12 UTC 2015


> And indeed it does so "lxd config set core.https_address 192.168.0.2" got
> me a port :8443 on my local host as soon as I hit enter, as advertised.

However after a reboot I got an error about no port for the config option
and lxd refused to start which made it awkward to update the config option
so I manually modified /var/lib/lxd/lxd.db guessing I needed to add :8443
and that worked (for 0.15)...

sudo sqlite3 /var/lib/lxd/lxd.db \
 "update config set value='192.168.0.2:8443' where key='core.https_address'"

So my previous example needs to be modified as below otherwise you can end
up with a non-functional lxd deamon that refuses to start...

lxd config set core.https_address 192.168.0.2:8443


More information about the lxc-users mailing list