getopts: use map
erlxc: add support for chroot creation