mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-09 08:33:23 -04:00
Rename demo users
See https://github.com/opencloud-eu/internal/issues/42
This commit is contained in:
@@ -4,8 +4,8 @@ COUNT=${COUNT:-100}
|
||||
OC_URL=${OC_URL:-https://localhost:9200}
|
||||
ENDPOINT=${ENDPOINT:-/webdav}
|
||||
FOLDER=${FOLDER:-c$CLIENTS x i$COUNT files}
|
||||
USER=${USER:-einstein}
|
||||
PASSWORD=${PASSWORD:-relativity}
|
||||
USER=${USER:-alan}
|
||||
PASSWORD=${PASSWORD:-demo}
|
||||
CURL_OPTS=${CURL_OPTS:--k}
|
||||
|
||||
curl -X MKCOL "$OC_URL$ENDPOINT/$FOLDER/" -u $USER:$PASSWORD $CURL_OPTS || { echo "could not create collection '$OC_URL$ENDPOINT/$FOLDER/'" >&2; exit 1; }
|
||||
@@ -17,4 +17,4 @@ do
|
||||
curl -X PUT -d "$c,$i" "$OC_URL$ENDPOINT/$FOLDER/file c$c i$i.txt" -u $USER:$PASSWORD $CURL_OPTS
|
||||
done
|
||||
} &
|
||||
done
|
||||
done
|
||||
|
||||
@@ -4,8 +4,8 @@ WIDTH=${WIDTH:-10}
|
||||
OC_URL=${OC_URL:-https://localhost:9200}
|
||||
ENDPOINT=${ENDPOINT:-/webdav}
|
||||
FOLDER=${FOLDER:-w$WIDTH x d$DEPTH folders}
|
||||
USER=${USER:-einstein}
|
||||
PASSWORD=${PASSWORD:-relativity}
|
||||
USER=${USER:-alan}
|
||||
PASSWORD=${PASSWORD:-demo}
|
||||
CURL_OPTS=${CURL_OPTS:--k}
|
||||
|
||||
COUNT=0
|
||||
|
||||
Reference in New Issue
Block a user