[pve-devel] [PATCH pve-manager stable-8 v3 2/3] pve8to9: move checklist to dedicated subcommand
Friedrich Weber
f.weber at proxmox.com
Tue Apr 29 13:36:45 CEST 2025
This allows to introduce other subcommands, e.g. for manual actions
rqeuired before the upgrade.
TODO: Update the manpage.
Signed-off-by: Friedrich Weber <f.weber at proxmox.com>
---
Notes:
new in v3
PVE/CLI/pve8to9.pm | 4 +++-
bin/Makefile | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/PVE/CLI/pve8to9.pm b/PVE/CLI/pve8to9.pm
index 42b7073b..fbb96491 100644
--- a/PVE/CLI/pve8to9.pm
+++ b/PVE/CLI/pve8to9.pm
@@ -1538,6 +1538,8 @@ __PACKAGE__->register_method ({
return undef;
}});
-our $cmddef = [ __PACKAGE__, 'checklist', [], {}];
+our $cmddef = {
+ checklist => [ __PACKAGE__, 'checklist', []],
+};
1;
diff --git a/bin/Makefile b/bin/Makefile
index cfe81a22..aa5878c7 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -80,7 +80,7 @@ pve8to9.1:
before, and during the upgrade of a Proxmox VE system\n" >> $@.tmp
printf "Any failure must be addressed before the upgrade, and any warning must be addressed, \
or at least carefully evaluated, if a false-positive is suspected\n" >> $@.tmp
- printf ".SH SYNOPSIS\npve8to9 [--full]\n" >> $@.tmp
+ printf ".SH SYNOPSIS\npve8to9 checklist [--full]\n" >> $@.tmp
mv $@.tmp $@
pveversion.1.pod: pveversion
--
2.39.5
More information about the pve-devel
mailing list