fcaviggia / hardened-centos7-kickstart

DVD embedded Kickstart for CentOS 7 utilizing SCAP Security Guide (SSG) as a hardening script.
Other
157 stars 58 forks source link

Tried script with C8 and failed under virtualbox #41

Open flare04 opened 4 years ago

flare04 commented 4 years ago

I just wanted to customize a C8 image with a few of our packages, but alas using this technique I can only produce an image that fails to install.

To create the image I patched the createiso.sh, see attached. All goes well until I try to use the iso to install undervirtualbox. It seems to work under libvirt.

I hope it's helpful.

c8.patch.zip

flare04 commented 4 years ago

I spoke to early it worked once under qemu after that I've not got the installer to boot

fcaviggia commented 4 years ago

I haven't had time to work on CentOS 8 - the major reason is the Dual Layer DVD and python3 requirements (that's a lot of code re-write for the python). Red Hat installs are getting really bloated in their requirements. I've been a bit busy with life (married, kid) and other work (standards development, cross domain, etc.) I haven't had time to maintain these scripts.

flare04 commented 4 years ago

That's OK. I got it working - my issue was the LABEL, when I got that consistent it all worked fine It is getting bloated I think I'd change the script to remove a whole load of packages, recreate the repo and then recreate the DVD, as I don't need libreoffice, etc.. Good luck with life!

openface commented 4 years ago

@flare04 curious if you booted in UEFI boot mode?

flare04 commented 4 years ago

The image I created works in both modes without issue, apart from on one system that had large disks and the bios was in legacy mode, changing that to UEFi ensured it worked

fcaviggia commented 4 years ago

It's worked on a number of UEFI systems - I had a few that had to have some adjustments to get things working correctly.