Skip to content

Commit

Permalink
sync parent
Browse files Browse the repository at this point in the history
  • Loading branch information
chris grzegorczyk committed Jan 7, 2012
2 parents 11d03c8 + 3a9402e commit 1566b2d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Expand Up @@ -93,7 +93,7 @@ public void generateReport( Date fromDate, Date toDate, String criteria, String
+ "&type=" + type + "&type=" + type
+ "&format=HTML" + "&format=HTML"
+ "&start=" + fromDate.getTime() + "&start=" + fromDate.getTime()
+ "&end=" + toDate.getTime() + "&end=" + (toDate.getTime()+(1000*60*60*24)) //Add one day because UI says "start" and "THRU
+ "&criterion=" + criteria + "&criterion=" + criteria
+ "&groupByCriterion=" + groupBy; + "&groupByCriterion=" + groupBy;


Expand Down
12 changes: 12 additions & 0 deletions devel/import_databases.sh
@@ -0,0 +1,12 @@
openssl pkcs12 -in ${EUCALYPTUS}/var/lib/eucalyptus/keys/euca.p12 \
-name eucalyptus -name "eucalyptus" \
-password pass:eucalyptus -passin pass:eucalyptus -passout pass:eucalyptus \
-nodes | \
grep -A30 "friendlyName: eucalyptus" | \
egrep -A27 "BEGIN (RSA|PRIVATE)" | grep -v 'Bag Attributes' > ${EUCALYPTUS}/var/lib/eucalyptus/keys/cloud-pk.pem

PASS=$($(dirname $(readlink -f $0))/dbPass.sh)

echo $0
mysql -u eucalyptus --password=${PASS} --port=8777 --protocol=TCP < $1

0 comments on commit 1566b2d

Please sign in to comment.