Permalink
Browse files

sync parent

  • Loading branch information...
2 parents 11d03c8 + 3a9402e commit 1566b2d2bb04d48f09849e6f9c1309e89cb75604 @grze grze committed Jan 7, 2012
@@ -93,7 +93,7 @@ public void generateReport( Date fromDate, Date toDate, String criteria, String
+ "&type=" + type
+ "&format=HTML"
+ "&start=" + fromDate.getTime()
- + "&end=" + toDate.getTime()
+ + "&end=" + (toDate.getTime()+(1000*60*60*24)) //Add one day because UI says "start" and "THRU
+ "&criterion=" + criteria
+ "&groupByCriterion=" + groupBy;
View
@@ -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.