RedHatGov / ssg-el7-kickstart

DVD embedded Kickstart for RHEL 7 utilizing SCAP Security Guide (SSG) as a hardening script.
Other
138 stars 57 forks source link

No GUI menu driven install, all text based #58

Closed johnwchambers closed 6 years ago

johnwchambers commented 6 years ago

I've used your content for creating a bootable RHEL 6 ISO and did the same for 7. After creating the ISO and booting, it goes to a text based installation menu. Things like partition sizes, FIPS, encryption, etc, cannot be modified or adjusted.

I've tried building the ISO using your script from a RHEL 6.9/7.3/7.4 machine with the same results (all minimal installs). None of your content was modified and was used as-is when executing the script to create the ISO. A quick poking around the menu.py file and it seems it's supposed to be GUI driven like your RHEL 6 content.

The destination system being built is a VM hosted within a vSphere 6.5 environment. Am I doing something incorrect when generating the ISO or is there maybe something missing from the source boxes I'm using to build it from that could be causing this?

johnwchambers commented 6 years ago

While in the text-based portion of the default automated installation screen, I attempted to manually execute the menu.py script and was greeted with an error. I didn't copy it down word for word, but it mentioned there was an unexpected indent on line 1002.

I opened menu.py in notepad++ and replaced all tabs with (4) spaces, (85) instances were replaced. I rebuilt the ISO and went through the install again and bingo, was greeted with the menu I was looking for.