ustcweizhou commented on a change in pull request #2271: CLOUDSTACK-10087
Template registration errors out when template URL i?
URL: https://github.com/apache/cloudstack/pull/2271#discussion_r140426824
##########
File path: systemvm/patches/debian/config/etc/init.d/cloud-early-config
##########
@@ -1302,6 +1303,18 @@ EOF
cp -f /etc/iptables/rt_tables_init /etc/iproute2/rt_tables
}
+import_jvm_cacerts(){
+ log_it "importing jvm keystore to realhostip keystore"
+ keyStore=/usr/local/cloud/systemvm/certs/realhostip.keystore
+ storepass="vmops.com"
+ java_home=$(readlink -f $(which java) | sed "s:/bin/java::")
Review comment:
not sure how systemvmtemplate-4.9 works.
in systemvmtemplate 4.6,
java_home=/usr/lib/jvm/java-7-openjdk-amd64/jre
java_keystore=/usr/lib/jvm/java-7-openjdk-amd64/jre/jre/lib/security/cacerts
two jre in java_keystore, which is wrong.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services