Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add your own local LXD host #67

Open
fvillart opened this issue Feb 13, 2023 · 1 comment
Open

Add your own local LXD host #67

fvillart opened this issue Feb 13, 2023 · 1 comment

Comments

@fvillart
Copy link

Is it possible to add the LXD host where the lxdware dashboard is running to the list of remote servers?

@ingobaab
Copy link

ingobaab commented Mar 8, 2023

Hi there, I did that with an entry into /etc/hosts. Works perfectly..

ingo@elitebook ~ $ cat /etc/hosts
# Host addresses
127.0.0.1  localhost localhost.localdomain elitebook
127.0.0.1  *.localhost
10.96.204.1 gateway.localhost _gateway.lxd

# ::1        localhost ip6-localhost ip6-loopback
ff02::1    ip6-allnodes
ff02::2    ip6-allrouters
ingo@elitebook ~ $ lxc list 
+---------------------+---------+----------------------+-----------------------------------------------+-----------+-----------+
|        NAME         |  STATE  |         IPV4         |                     IPV6                      |   TYPE    | SNAPSHOTS |
+---------------------+---------+----------------------+-----------------------------------------------+-----------+-----------+
| discourse           | STOPPED |                      |                                               | CONTAINER | 0         |
+---------------------+---------+----------------------+-----------------------------------------------+-----------+-----------+
| init0               | STOPPED |                      |                                               | CONTAINER | 0         |
+---------------------+---------+----------------------+-----------------------------------------------+-----------+-----------+
| lxd-dashboard       | RUNNING | 10.96.204.197 (eth0) | fd42:a879:3b9a:9562:216:3eff:fe3f:814b (eth0) | CONTAINER | 0         |
+---------------------+---------+----------------------+-----------------------------------------------+-----------+-----------+
| nextcloud           | STOPPED |                      |                                               | CONTAINER | 0         |
+---------------------+---------+----------------------+-----------------------------------------------+-----------+-----------+
| proxy               | RUNNING | 10.96.204.166 (eth0) | fd42:a879:3b9a:9562:216:3eff:fe3e:13a4 (eth0) | CONTAINER | 1         |
+---------------------+---------+----------------------+-----------------------------------------------+-----------+-----------+
| rocket-chat         | STOPPED |                      |                                               | CONTAINER | 0         |
+---------------------+---------+----------------------+-----------------------------------------------+-----------+-----------+
| setest              | RUNNING | 10.96.204.252 (eth0) | fd42:a879:3b9a:9562:216:3eff:fee0:2879 (eth0) | CONTAINER | 0         |
+---------------------+---------+----------------------+-----------------------------------------------+-----------+-----------+
| ubuntu22            | STOPPED |                      |                                               | CONTAINER | 0         |
+---------------------+---------+----------------------+-----------------------------------------------+-----------+-----------+
| wordpress           | STOPPED |                      |                                               | CONTAINER | 0         |
+---------------------+---------+----------------------+-----------------------------------------------+-----------+-----------+
| wpx                 | RUNNING | 10.96.204.157 (eth0) | fd42:a879:3b9a:9562:216:3eff:feae:e361 (eth0) | CONTAINER | 0         |
+---------------------+---------+----------------------+-----------------------------------------------+-----------+-----------+
| wpx2                | RUNNING | 10.96.204.124 (eth0) | fd42:a879:3b9a:9562:216:3eff:fe4d:6706 (eth0) | CONTAINER | 1         |
+---------------------+---------+----------------------+-----------------------------------------------+-----------+-----------+
| wpx-20230306-170536 | STOPPED |                      |                                               | CONTAINER | 0         |
+---------------------+---------+----------------------+-----------------------------------------------+-----------+-----------+
ingo@elitebook ~ $ 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants