17 lines
309 B
Bash
Executable File
17 lines
309 B
Bash
Executable File
#!/bin/sh
|
|
|
|
mkdir -p /app
|
|
cd /app
|
|
rm -rf ./template ./snapshot
|
|
mkdir /app/template /app/snapshot
|
|
|
|
set -euo pipefail
|
|
|
|
git clone -b _REVISION_ _REPO_ template
|
|
|
|
python3 /daemon/orchestrate.py \
|
|
--root /app/template \
|
|
--network cloud \
|
|
--volume-parent /data/volumes \
|
|
--snapshot-root /app/snapshot
|