-
Notifications
You must be signed in to change notification settings - Fork 211
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
Update LXD Client Config #102
Conversation
This commit updates the LXD discovery plugin to support the new LXD client API.
Hello, The LXD project recently refactored their client API. We moved to this new API a few weeks ago in the Terraform LXD provider and can verify the changes are safe and work. These are all internal changes. There are no changes to the gobetween configuration or any other user-facing pieces. In order to help with testing, I have created a set of Terraform configurations that you can find here: https://github.com/jtopjian/terraform-gobetween-dev This will deploy a virtual machine to either AWS or OpenStack and create an environment with LXD (including two running containers), Go, and dependencies. To use this, do the following:
$ cd terraform-gobetween-dev/aws
$ export AWS_SECRET_ACCESS_KEY=your aws secret access key
$ export AWS_ACCESS_KEY_ID=your aws access key id
$ terraform apply If you prefer not to use Terraform, you can simply use the deploy script found in When the script is done running, you can then build a $ sudo ./bin/gobetween -c ~/gobetween.toml
$ curl localhost Please let me know if you have any questions. |
Sorry, I created duplicate issue without noticing that you've already done whole thing. My bad |
No problem at all. Should I open an Issue+PR next time? |
I will leave it here just not to forget: sudo dpkg --add-architecture i386 This lines are required in order to make a cross build |
@illarion Good call. I have updated the |
Merged |
This commit updates the LXD discovery plugin to support the new LXD
client API.