piston/lxc/start

10 lines
271 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
mkdir -p /var/lib/lxc/piston/rootfs/exec
rm -f /var/lib/lxc/piston/rootfs/exec/*
cp -f executors/* /var/lib/lxc/piston/rootfs/exec
chmod 700 /var/lib/lxc/piston/rootfs/exec/*
2019-05-31 22:34:48 +02:00
chown -R root:root /var/lib/lxc/piston/rootfs/exec
2021-01-14 07:02:03 +01:00
lxc-start -n piston -d