Created
February 28, 2019 04:24
-
-
Save kgersen/133ebfef23ce1df024fb066af6ad0126 to your computer and use it in GitHub Desktop.
setup lxd client in penguin crostini vm (requires ChromeOS linux apps)
This file contains 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
source: https://discuss.linuxcontainers.org/t/using-lxd-on-your-chromebook/3823 | |
ctrl-alt-t to access crosh | |
vsh termina (or vmc start termina) | |
lxc config set core.https_address :8443 | |
lxc config set core.trust_password some-password | |
# create an Ubuntu container | |
lxc launch ubuntu:18.04 c1 | |
# copy the lxc command from it | |
lxc file pull c1/usr/bin/lxc /tmp/lxc | |
# copy it to penguin | |
lxc file push /tmp/lxc penguin/usr/local/bin/ | |
rm /tmp/lxc | |
lxc delete c1 | |
# note the host ip (HOSTIP here after) in the ipv4.address line | |
lxc network show lxdbr0 | |
open termina | |
lxc remote add chromeos HOSTIP | |
(use the password some-password used for lxc config...) | |
lxc remote set default chromeos | |
all done. | |
test if it works: | |
lxc list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
lxc file pull c1/usr/bin/lxc /tmp/lxc
doesnt work and.. idk how to see the listings of the lxc containers.. any guess?