LEAPP(1)
π LEAPP(1) β like, the leapp manual but make it make sense
okay bestie, welcome to the leapp(1) man page, the user commands edition π this is the CLI for upgrading between major OS versions, and yes it's as iconic as it sounds.
β¨ NAME β¨
leapp β the command line interface for upgrades between major OS versions. that's the whole vibe. π«
π¦ SYNOPSIS π¦
leapp [-h|--help] [--version] <command> [command options]
πΈ DESCRIPTION πΈ
so leapp is a command line utility for running specific workflows related to upgrading between major OS releases. currently it's able to perform upgrades from RHEL 7 to RHEL 8. no cap, that's the range. β¨
π OPTIONS π
-h,--helpβ shows usage info and dips out. that's it, that's the whole job. π--versionβ shows the version number of the utility and exits. a little flex. π
π COMMANDS π
preupgradeβ generates a pre-upgrade report. the lil dress rehearsal. πupgradeβ upgrades the current system to the next available major version. the main character moment. π₯answerβ manages answerfile generation: registers persistent user choices for specific dialog sections. it remembers stuff so you don't have to. π§list-runsβ lists previousleapp upgradeexecutions. receipts, basically. π§Ύ
π COMMAND SPECIFIC OPTIONS π
π preupgrade / upgrade
--debugβ prints all available log messages (debug, info, warning, error, critical) and the output of executed commands to stderr. by default only error and critical level messages are printed. so yeah, this one is the firehose πΏ--verboseβ prints all but debug log messages (info, warning, error, critical) to stderr. by default only error and critical level messages are printed. middle ground, we love to see it. π«Ά--enablerepo <repoid>β enables the specified repository. can be used multiple times, stack 'em up. π--no-rhsmβ skips actions that use Red Hat Subscription Manager. heads up: you'll also have to supply custom repositories through--enablerepo(see above). no skipping both, bestie. β οΈ--whitelist-experimental <ActorName>β enables an experimental actor. can be used multiple times. to use this variable,LEAPP_UNSUPPORTEDhas to be set. see Developer variables for more info. π§ͺ--report-schema <version>β forces the report format to conform to a specific version of the report schema. expected values:1.0.0,1.1.0. defaults to1.1.0. π--rebootβ (upgradeonly) automatically performs a reboot when requested. it'll just do it. π--resumeβ (upgradeonly) continues the last execution after it was stopped (e.g. after reboot). pick up right where you left off. β―οΈ
π answer
--addβ if set, sections will be created even if they're missing in the original answerfile. building from scratch, love that for you. β--section <dialog_sections>β registers an answer for a specific section in the answerfile. can be used multiple times. ποΈ
π§ ENVIRONMENT π§
if the argument for the environment variables below is not specified, it's possible to set them to either 1 (true) or 0 (false). they default to 0.
LEAPP_CONFIGβ overrides the default location ofleapp.conf. if not specified,.leapp/leapp.confis used when the command is executed inside a leapp repository, otherwise the default/etc/leapp/leapp.confis used. πLEAPP_LOGGER_CONFIGβ overrides the default location oflogger.conf. if not specified, the default/etc/leapp/logger.confis used. πLEAPP_ENABLE_REPOSβ specifies repositories (repoids) split by comma, that should be used during the in-place upgrade to the target system. it's overwritten automatically in case the--enablerepooption of theleapputility is used. it's recommended to use the--enablerepooption instead of the envar. (yes, the manpage is telling you to use the flag, listen to it π«‘)LEAPP_DEBUGβ enables debug logging. equivalent to--debug, which takes precedence. πLEAPP_VERBOSEβ enables debug logging. equivalent to--verbose, which takes precedence. (that's what the original says, we're not fixing it, we're just reporting it π)LEAPP_GRUB_DEVICEβ overrides the automatically detected storage device with the GRUB core (e.g./dev/sda). πΎLEAPP_NO_RHSMβ skips actions that use Red Hat Subscription Manager. equivalent to--no-rhsm, which takes precedence. π ββοΈLEAPP_OVL_SIZEβ for each XFS partition created withftype=0,leappcreates an overlay file in order to proceed. this option sets the size (in MB) of every such file. defaults to2048. πLEAPP_SERVICE_HOSTβ overrides the host of the service to whichleappconnects to fetch necessary data files in case they're missing. the used protocol (http://orhttps://) must be specified. defaults tohttps://cert.cloud.redhat.com. πLEAPP_PROXY_HOSTβ if set,leappwill use this proxy to fetch necessary data files in case they're missing. the used protocol (http://orhttps://) must be specified. π
π§ͺ Developer variables
these variables shouldn't be needed under typical circumstances. translation: you probably don't need these, bestie, they're for the devs. π
LEAPP_UNSUPPORTEDβ necessary in case you use any variable starting withLEAPP_DEVEL(see below) or use--whitelist-experimental. by setting this variable to1, you acknowledge that the upgrade is not going to be supported by Red Hat. that's a real acknowledgment, okay? β οΈLEAPP_DEVEL_RPMS_ALL_SIGNEDβ if set,leappwill consider all installed RPMs to be signed by Red Hat and upgrade them. by default,leapponly handles RPMs signed by Red Hat. what happens with RPMs not signed by Red Hat is undefined. like, genuinely undefined. proceed with caution πLEAPP_DEVEL_TARGET_RELEASE <version>β changes the default target RHEL 8 minor version. π―LEAPP_DEVEL_SKIP_CHECK_OS_RELEASEβ if set,leappwill not check whether the source RHEL 7 version is the supported one. skipping the vibe check, bold move. π©LEAPP_DEVEL_DM_DISABLE_UDEVβ disables udev support in libdevmapper,dmsetupand LVM2 tools globally without a need to modify any existing configuration settings. useful if the system environment does not use udev. π§°LEAPP_DEVEL_SOURCE_PRODUCT_TYPE <product_type>β specifies source product type. expected values:ga,beta,htb. defaults toga. π¦LEAPP_DEVEL_TARGET_PRODUCT_TYPE <product_type>β specifies target product type. expected values:ga,beta,htb. defaults toga. π¦
π₯ EXIT CODES π₯
0β no error occurred. slay. β¨1β any actor in a workflow reported an error (through callingreport_erroror raisingStopActorExecutionError). π
π REPORTING BUGS π
report bugs to bugzilla (https://bugzilla.redhat.com) under the Red Hat Enterprise Linux 7 product and the leapp-repository component. please, we're begging, put it in the right component π
π SEE ALSO π
snactor(1)- more info available at
https://leapp.readthedocs.io/.
okay that's the whole page, go forth and upgrade responsibly π«Άβ¨
π this has beenleappversion0.22.0, dated2026-07-29, the LEAPP(1) of our hearts. mwah. π
π¦ where this page comes from
- centos-stream 9: leapp 0.22.0-1.el9 Β· ASL 2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms