#!/bin/bash set -e mount -o bind /lxc/base/rootfs /lxc/${LXC_NAME}/rootfs mount -o remount,ro,bind /lxc/base/rootfs /lxc/${LXC_NAME}/rootfs