Last active
August 23, 2018 21:39
-
-
Save MakeStuffWithAI/b598c9fc639ce409af9009d35cdd5ddb to your computer and use it in GitHub Desktop.
Command to fix LXC GPG Error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #lxc on Ubuntu 18.04 has a "GPG error" if it is just run with the standard keyserver | |
| #This command fixes that | |
| lxc-create -t download -n mycontainer -- --keyserver hkp://p80.pool.sks-keyservers.net:80 | |
| #also handy for ansible work is the command | |
| #sudo lxc-ls -f | awk '{if(NR>1)print $5}' > hosts | |
| #This command will save all of the ip addresses to a file called hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment