ahpnils / reinstallme

Just a bunch of script and response files for quick reinstallations of Linux systems

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reinstallme

This repository contains a bunch of scripts based on kexec for reinstalling a Linux system. This means running one of these (as root) will reboot the existing Linux box, but reboot it on an installer that should wipe the drive(s) and run an (unattended) installation.

Scripts are made for Red Hat based distributions (CentOS Stream, Fedora, ...) or Debian based distributions (but only tried on Debian right now).

Thanks to Fabian Arrotin for the idea !

The bin repository contains the following examples :

  • reinstall_ks.sh is suited to reinstall a Red Hat distribution automatically, using a remote kickstart file ;
  • reinstall_deb.sh will help you reinstall a Debian system, interactively ;
  • reinstall_deb_ssh.sh will do the same as before but over the network, using ssh ;
  • reinstall_preseed.sh will reinstall a Debian system automatically using a local Preseed file.

More (complete ?) examples could be added in the future

About

Just a bunch of script and response files for quick reinstallations of Linux systems

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Shell 100.0%