Skip to content

Commit

Permalink
Upgrade: send users to XCP-ng 8.3 relnotes for details.
Browse files Browse the repository at this point in the history
Signed-off-by: Yann Dirson <yann.dirson@vates.tech>
  • Loading branch information
ydirson committed Sep 23, 2024
1 parent 6265ada commit 5c8d6a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,10 @@ def testUpgradeForbidden(self, tool):
if tool.partTableType == constants.PARTITION_DOS and utilparts is not None:
raise RuntimeError("Util partition detected on DOS partition type, upgrade forbidden.")
if self.key_size < constants.MIN_KEY_SIZE:
raise RuntimeError("Current server certificate is too small (%s bits), please regenerate with at least %s bits." % (self.key_size, constants.MIN_KEY_SIZE))
raise RuntimeError("Current server certificate is too small (%s bits),"
" please regenerate with at least %s bits.\n\n"
"See the Release Notes for XCP-ng 8.3.0" %
(self.key_size, constants.MIN_KEY_SIZE))

convertTargetStateChanges = []
convertTargetArgs = ['primary-disk', 'target-boot-mode', 'boot-partnum', 'primary-partnum', 'logs-partnum', 'swap-partnum', 'storage-partnum', 'backup-partnum']
Expand Down

0 comments on commit 5c8d6a7

Please sign in to comment.