This repository is used to store the basic scripts needed to automatically install a RapidSpace host machine Debian system.
This repository is used to store the basic scripts needed to automatically install a RapidSpace host machine Debian system.
HOWTO
HOWTO
1. create your gen_XXXX.sh script depending on your location and the machines (this script generates the grub config file and the network files)
For each datacenter XXX, there is 2 files:
2. adapt the variables in dnsmasq script
dnsmasq_XXX.sh
3. adapt "mirror/http/hostname" in preseed.cfg
preseed_XXX.cfg
4. adapt "partman/early_command" in preseed.cfg depending on the size of the small disk
5. adapt "late_command" in preseed.cfg depending on the network config you want
For a new datacenter, you need to copy existing files and adapt them to your new datacenteri (especially the MAC addresses and network configuration). Then simply call "./dnsmasq_XXX.sh"
HOW DOES IT WORK
The script download Debian 10 and SystemRescue CD. It also creates one directory per machine containing the configuration for the machine and it generates the grub.cfg. Then it instructs the machine to boot grub with the grub.cfg file able to determine the hostname of the machine.