diff --git a/build_lxc.sh b/build_lxc.sh index 940fcae..88a7443 100755 --- a/build_lxc.sh +++ b/build_lxc.sh @@ -120,33 +120,33 @@ iface eth0 inet static EOF # Configure the runner -RUN_SH=$ROOTFS/root/run.sh +RUN_SH=$ROOTFS/opt/run.sh cat > $RUN_SH < /opt/run.sh.log +cd /opt/nfs-stack && $STACKSH_PARAMS ./stack.sh > /opt/run.sh.log EOF # Make the run.sh executable -chmod 700 $RUN_SH +chmod 755 $RUN_SH # Make runner launch on boot RC_LOCAL=$ROOTFS/etc/rc.local cat > $RC_LOCAL <