container_name=remapped
lxc init ubuntu-daily:z $container_name
lxc config set $container_name raw.idmap "both $UID 1000"
lxc config device add $container_name homedir disk source=$HOME path=/home/ubuntu
lxc start $container_name
Created
April 10, 2022 00:06
-
-
Save tegila/077710757631223fe36fad5128416f52 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://tribaal.io/nicer-mounting-home-in-lxd.html