You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
""" Attempts to update certificates on the machine for default patching"""
806
+
ifnotself.__is_default_patching():
807
+
self.composite_logger.log_debug("Not updating certificates since this is not a default patching operation.")
808
+
return
809
+
810
+
try:
811
+
self.package_manager.update_certs()
812
+
exceptExceptionase:
813
+
self.composite_logger.log_warning("An error was encountered while attempting to update certificates. Continuing with patch installation... [Error: {0}]".format(str(e)))
814
+
815
+
def__is_default_patching(self):
816
+
# type: () -> bool
817
+
""" Returns true if the patching run is a default patching run"""
# Not explicitly rebooting the VM to honor the customer's reboot preference and to avoid unexpected reboots.
1016
+
# Reboot will only be performed if it is required by the VM after cert update and if the customer has set reboot setting in patch configuration to 'Reboot if required'.
0 commit comments