mirror of https://github.com/apache/cloudstack.git
systemvm: fix keystore is reset when patch a systemvm (#9900)
This commit is contained in:
parent
fce77733a5
commit
35fe19f096
|
|
@ -122,6 +122,9 @@ patch_systemvm() {
|
|||
echo "Restored keystore file and certs using backup" >> $logfile 2>&1
|
||||
fi
|
||||
|
||||
# Import global cacerts into 'cloud' service's keystore
|
||||
keytool -importkeystore -srckeystore /etc/ssl/certs/java/cacerts -destkeystore /usr/local/cloud/systemvm/certs/realhostip.keystore -srcstorepass changeit -deststorepass vmops.com -noprompt || true
|
||||
|
||||
update_checksum $newpath/cloud-scripts.tgz
|
||||
|
||||
if [ "$TYPE" == "consoleproxy" ] || [ "$TYPE" == "secstorage" ] || [[ "$TYPE" == *router ]]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue