openstack-ansible/playbooks/roles/lxc_container_create/templates/autodev.j2
Christian Berendt d1f410d08a Implement /usr/bin/env as the shebang in all bash scripts
In order to be more consistent, and also account for different
environments and platforms, this patch implements the use of
#!/usr/bin/env as the shebang for all bash scripts in the
environment.

Closes-Bug: #1485557
Change-Id: I93e6a47fd6be816620682eddb2880e38f11bf675
2015-08-17 20:14:27 +00:00

6 lines
99 B
Django/Jinja

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