lxc-config/hooks/tun-device

7 lines
90 B
Bash
Executable File

#!/bin/sh
cd ${LXC_ROOTFS_MOUNT}/dev
mkdir net
mknod net/tun c 10 200
chmod 0666 net/tun