Feature #487, #488: Templates now can't repeat name

This commit is contained in:
Carlos Martín committed 2011-04-07 15:37:03 +02:00
1 parent d68fa4bba8
commit a088af7d3e
3 files changed
+72 -1

No files matched your search

+17
View File
@@ -1,5 +1,22 @@
#!/bin/bash
if [ -z $ONE_LOCATION ]; then
echo "ONE_LOCATION not defined."
exit -1
fi
ONEDCONF_LOCATION="$ONE_LOCATION/etc/oned.conf"
if [ -f $ONEDCONF_LOCATION ]; then
echo "$ONEDCONF_LOCATION has to be overwritten, move it to a safe place."
exit -1
fi
cp oned.conf $ONEDCONF_LOCATION
export ONE_XMLRPC=http://localhost:2666/RPC2
./test.sh ClusterTest
./test.sh HostTest
./test.sh ImageTest