https://github.com/bcambl/ksconfig
Custom kickstart user input scripts
https://github.com/bcambl/ksconfig
Last synced: 10 months ago
JSON representation
Custom kickstart user input scripts
- Host: GitHub
- URL: https://github.com/bcambl/ksconfig
- Owner: bcambl
- License: bsd-3-clause
- Created: 2015-01-05T09:29:51.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-17T22:28:36.000Z (almost 11 years ago)
- Last Synced: 2025-02-27T11:28:46.413Z (over 1 year ago)
- Language: Python
- Size: 340 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
ksconfig
========
### Description:
These scripts were created for use with a kickstart file via %pre and %post sections.
The included scripts will allow you to provide a hostname, IP addressing, as well as
specify a standard disk partiton/volume configuration with the ability to make size tweaks.
This is especially useful if you would like to kickstart a handful of servers without
the need of more advanced solutions like cobbler. I have tested these scripts for
use with CentOS7 but should also be compatible with RHEL and Fedora based linux
distributions.
### Instructions:
1) Edit the settings within the kspre.py script to suit your needs.
2) View the sample file to include these scripts in your %pre and %post sections
of your kickstart file.
3) Add *net.ifnames=0*, *biosdevname=0*, and *inst.geoloc=0* to your **boot:** along with your
kickstart file path.
This ensures that traditional interface names are used. ie: eth0, eth1, etc.
```
linux net.ifnames=0 biosdevname=0 inst.geoloc=0 ks=
```
### Screenshots
##### Server Location
Specify pre-defined server location/domain. The 'custom' option will prompt
user for a domain and a short description.
(enabled/disabled in kspre.py settings if not needed)

##### Hostname and IP configuration
Second interface is optional. Disable/enable via kspre settings

##### Validate IP's
Do not allow CIDR notation, invalid IP's, or Blank IP fields

##### Select disck for installation of OS

##### Modify default partitioning
Modify partitions of 'standard partitioning' scheme
(standard partitioning scheme can be changed by modifying the script)

##### Verify Configuration


##### Accept configuration or Re-Configure
The 're-configure' option will enable IP validaions if previously skipped

### Author
Blayne Campbell (https://github.com/bcambl)
### License
BSD