Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stromweld/kickstart

Kickstart files and directions for vnc install
https://github.com/stromweld/kickstart

managed-by-terraform

Last synced: 9 days ago
JSON representation

Kickstart files and directions for vnc install

Awesome Lists containing this project

README

        

# Kickstart files for creating CentOS machines in the cloud or in virtual environment

This script will setup your machine for rebooting into a kickstart automated install with VNC support.

Use the bash script below to Kickstart install CentOS.

## To Use

Deploy a CentOS 7 linux machine via cloud image or VM template and copy script below making changes to `inst.ks=` and any other boot options as needed.

See this site for additional boot options and their descriptions

Note: that using vnc will cause the system to wait for a connection before continuing to load and run installer.
Simply remove comment out vnc and text lines at the begining of the kickstart file if you have access to the console or wish to have it fully automated.
It may take a long time for installation and before your system reboots into a usable state.

If DHCP is not available change `ip=dhcp` to something like `ip=::::::none`

### Bash Script

```bash
#!/bin/bash
# Make sure wget is installed
yum install wget -y

# Download linux installer ram images for booting into installer kernel
cd /boot
wget http://mirror.centos.org/centos/7/os/x86_64/isolinux/vmlinuz -O vmlinuz-7
wget http://mirror.centos.org/centos/7/os/x86_64/isolinux/initrd.img -O initrd-7.img

# Create grub menu entry
cat >> /etc/grub.d/40_custom < and

For additional kickstart file options reference