Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- mkdir -p ~/.config/lxc
- exec >~/.config/lxc/default.conf
- echo 'lxc.include = /etc/lxc/default.conf'
- awk -F: /^$USER'/{print "lxc.id_map = u 0", $2, $3}' /etc/subuid
- awk -F: /^$USER'/{print "lxc.id_map = g 0", $2, $3}' /etc/subgid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement