CentOS 7 to 8 upgrade scripts
- It creates a "Minimal" install of CentOS 8 in the new_root diretory;
- It copies over only the essential files to new_root;
- It pivots / with new_root;
- It obliterates everything you have in /;
- It copies everything in new_root to /;
- It pivots back to /;
- It obliterates new_root.
git clone https://github.com/yuusou/eight-ate-seven.git
bash 887.sh /8 # or some other, temporary directory you wish to use.
- SELinux needs to be disabled first.
- This hasn't been tested in the wild.
- To see further use cases (such as running a pre-script script or a post-command, run
bash 887.sh
without arguments.
- Create functions for each step;
- Merge all three scripts into one;
- Remove need for having script in specific location;
- Fix running commands and running scripts, currently not working;