summaryrefslogtreecommitdiff
path: root/cgit/start.sh
blob: 42ff6e293924c1f65ff9c782b5491c0c8ed606fc (plain)
1
2
3
4
5
6
7
8
9
10
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