Added offline and do-not-pre-update options
This commit is contained in:
parent
e7d12fe312
commit
ffc4c60aae
|
@ -7,7 +7,9 @@ Running this script will convert an existing CentOS 8 system to Rocky Linux 8.
|
|||
|
||||
```bash
|
||||
./migrate2rocky.sh -h
|
||||
├── -d # --> Do not update before conversion
|
||||
├── -h # --> Display this help
|
||||
├── -o # --> Work in offline mode
|
||||
├── -r # --> Convert to Rocky
|
||||
└── -V # --> Verify switch
|
||||
|
||||
|
@ -17,8 +19,9 @@ Running this script will convert an existing CentOS 8 system to Rocky Linux 8.
|
|||
### Disk Space Requirements
|
||||
|
||||
Please note the following disk space requirements. These requirements may vary
|
||||
from one system to another. Failure to have adequate disk space available may
|
||||
result in migrate2rocky leaving the system in an unstable state:
|
||||
from one system to another. Offline mode may require further space for rpm
|
||||
packages and repository metadata. Failure to have adequate disk space available
|
||||
may result in migrate2rocky leaving the system in an unstable state:
|
||||
|
||||
```
|
||||
/usr 250M
|
||||
|
@ -58,11 +61,27 @@ sed -i -r \
|
|||
/etc/yum.repos.d/CentOS-*.repo
|
||||
```
|
||||
|
||||
#### Migration in offline mode
|
||||
|
||||
Offline mode has received minimal testing and only in the CentOS 8.5 -> Rocky 8.5
|
||||
migration from a pristine system using a mounted CentOS 8.5 DVD ISO and a Rocky 8.5
|
||||
ISO as offline repositories, mounted respectively under /mnt/centos and /mnt/rocky
|
||||
(these pathnames are hardcoded into the script).
|
||||
|
||||
#### Migration with updating disabled
|
||||
|
||||
Disabling running system update before migration has been introduced as a
|
||||
convenience option for the offline conversion mode but it should be carefully
|
||||
tested on a non-production system before attempting it even in offline mode.
|
||||
|
||||
#### Custom replacements of default repositories
|
||||
|
||||
This script expects the **original repository configuration being present, as
|
||||
well as enabled** (i.e. for CentOS the `baseos` repo configuration in the
|
||||
`/etc/yum.repos.d/CentOS-Linux-BaseOS.repo` file has to be present and enabled).
|
||||
Offline mode will require at least the repository metadata for the `baseos` and
|
||||
`appstream` repos to be available (for CentOS under /mnt/centos/{BaseOS,AppStream}
|
||||
which can be copied or mounted from a CentOS ISO).
|
||||
Also make sure that there are **no other repositories** which could interfere
|
||||
with the original configuration.
|
||||
|
||||
|
|
Loading…
Reference in New Issue