lxd-webgui
lxd-webgui copied to clipboard
LXD-WEBGUI network access - cmd question
On my Ubuntu 16.04 system the following command is not accepted:
$ **sudo lxc config set core.https_allowed_origin ***
It responds with list of lxc config example statements and the error msg that the above command has: error: wrong number of subcommand arguments
= = = = = = = = = = = =
$ sudo lxc config set core.https_allowed_origin [sudo] password for bmullan:
lxc config device add [
lxc config get [
lxc config trust list [
Examples:
To mount host's /share/c1 onto /opt in the container:
lxc config device add [
To set an lxc config value:
lxc config set [
To listen on IPv4 and IPv6 port 8443 (you can omit the 8443 its the default): lxc config set core.https_address [::]:8443
To set the server trust password: lxc config set core.trust_password blah
error: wrong number of subcommand arguments
Ah, probably because shell expands the star *.
Have you tried adding quotes:
lxc config set core.https_allowed_origin "*"
That was it... re adding quotes.
You might want to change the command in the README..
thanks brian
On Fri, Feb 17, 2017 at 5:22 AM, Dobin Rutishauser <[email protected]
wrote:
Ah, probably because shell expands the star *.
Have you tried adding quotes:
lxc config set core.https_allowed_origin "*"
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dobin/lxd-webgui/issues/38#issuecomment-280612716, or mute the thread https://github.com/notifications/unsubscribe-auth/ABmtp9W6TC_ug5sUw3m9Bx6FFeeEjUixks5rdXT3gaJpZM4MDBFu .
will update README.