diff options
Diffstat (limited to 'cgit/start.sh')
| -rwxr-xr-x | cgit/start.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cgit/start.sh b/cgit/start.sh new file mode 100755 index 0000000..ea3b4f0 --- /dev/null +++ b/cgit/start.sh @@ -0,0 +1,11 @@ +#!/bin/sh +set -e +. layer-recipes/util.sh +require-layer machine +require-layer cgit + +export SF_PATH=run + +sf.base node start cgit_net '{ module: sf.eiface, configuration: { inet: "10.2.0.1/24" } }' +sf.base node start cgit_host "$(cat cgit/host/conf)" +sf.base link start cgit_net_link cgit_net '' cgit_host eth0 |
