Skip to content

Instantly share code, notes, and snippets.

@macghriogair
Created August 31, 2018 14:56
Show Gist options
  • Save macghriogair/636cd68450557e248320eefeedb8ade1 to your computer and use it in GitHub Desktop.
Save macghriogair/636cd68450557e248320eefeedb8ade1 to your computer and use it in GitHub Desktop.
[LXC Adding remote] #lxc
# First you need to make sure that “foo” is listening to the network and has a password set, so get a remote shell on it and run:
lxc config set core.https_address [::]:8443
lxc config set core.trust_password something-secure
# Now on your local LXD, we just need to make it visible to the network so we can transfer containers and images from it:
lxc config set core.https_address [::]:8443
# Now that the daemon configuration is done on both ends, you can add “foo” to your local client with:
lxc remote add foo 1.2.3.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment