summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/cobbler/snippets/kickstart_pre_anamon
blob: 70b8469091298660c1aaa2b8e3bdeb7e427e7702 (plain)
1
2
3
4
5
6
7
8
9
#if $str($getVar('anamon_enabled','')) == "1"
    #if $getVar("compass_server", "") != ""
wget -O /tmp/anamon "http://$compass_server:$http_port/cobbler/aux/anamon"
python /tmp/anamon --name "$name" --server "$compass_server" --port "$http_port"
    #else
wget -O /tmp/anamon "http://$server:$http_port/cobbler/aux/anamon"
python /tmp/anamon --name "$name" --server "$server" --port "$http_port"
    #end if
#end if