Search found 45 matches

by Thraex
2019/07/31 12:20:40
Forum: CentOS 7 - General Support
Topic: User input in Kickstart %post
Replies: 4
Views: 772

Re: User input in Kickstart %post

Do you have it as a text only kickstart install? That was the only way I got it to work I think.
You can do this with the following.

Code: Select all

iotty=`tty`
exec > $iotty 2> $iotty
clear
read -p "Enter the system's fully qualified name: " NAME
echo "$NAME" > /etc/hostname
echo "hostname set to $NAME "
by Thraex
2019/07/30 19:20:24
Forum: CentOS 7 - General Support
Topic: How to I get Samba working on CentOS with AD authenticated users?
Replies: 16
Views: 1827

Re: How to I get Samba working on CentOS with AD authenticated users?

I never tried it actually, for what I needed samba for most of the documentation I found said to use winbind so I did. Once it worked I didn't mess around with it anymore
by Thraex
2019/07/30 18:21:55
Forum: CentOS 7 - General Support
Topic: How to I get Samba working on CentOS with AD authenticated users?
Replies: 16
Views: 1827

Re: How to I get Samba working on CentOS with AD authenticated users?

I was able to do this before, I used authconfig-tui and set it to use winbind and joined the domain through it. It adds a good chunk to your smb.conf so it should make the process a little easier. After it joined, you can make sure it worked with wbinfo -u which should show AD users. If it does then...
by Thraex
2019/07/11 19:11:02
Forum: CentOS 7 - General Support
Topic: [SOLVED] UEFI Kickstart
Replies: 6
Views: 12139

Re: UEFI Kickstart

I got it all working exactly how I want it and wanted to provide the steps for anyone else attempting this. Mount DVD iso mount -o loop /dev/cdrom /mnt Copy it's contents to a local folder mkdir /ISO cp -r /mnt/. /ISO/kickstart.iso Unmount the CD umount /mnt Create kickstart script in /ISO/kickstart...
by Thraex
2019/07/10 20:10:43
Forum: CentOS 7 - General Support
Topic: [SOLVED] UEFI Kickstart
Replies: 6
Views: 12139

Re: UEFI Kickstart

That's correct, I've already changed the menu entries to point to the correct kickstart files so the only hang up I'm running into is the partitioning and possibly the bootloader being MBR. I don't know for sure if that works for EFI or not. Everything in the %post section should work for BIOS or EF...
by Thraex
2019/07/10 19:45:53
Forum: CentOS 7 - General Support
Topic: [SOLVED] UEFI Kickstart
Replies: 6
Views: 12139

Re: UEFI Kickstart

Unfortunately I can't :( These installs are on remote standalone systems so the most convenient way has been ISO's
by Thraex
2019/07/10 19:21:01
Forum: CentOS 7 - General Support
Topic: [SOLVED] UEFI Kickstart
Replies: 6
Views: 12139

Re: UEFI Kickstart

Alright, I was able to get the iso to boot on a uefi and a BIOS virtual machine with the following: xorriso -as mkisofs -o /ISOs/gptest.iso -V "CentOS 7 x86_64" -c isolinux/boot.cat -b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e images/efiboot.img -no...
by Thraex
2019/07/10 18:29:15
Forum: CentOS 7 - General Support
Topic: [SOLVED] UEFI Kickstart
Replies: 6
Views: 12139

[SOLVED] UEFI Kickstart

How can I configure a CentOS 7 kickstart script to install for both BIOS and EFI systems? Right now my kickstart only works on non-EFI systems but I'd like it to work on both and choose whether to use EFI or not. I'm assuming I need to add an if statement in the %pre section but I can't find any doc...
by Thraex
2019/06/26 14:38:10
Forum: CentOS 7 - General Support
Topic: Patching Support
Replies: 2
Views: 465

Re: Patching Support

I have a net connected VM of centos that I run the reposync command to copy the base and update repos locally. Then I tar and burn that to a disc, run it to the standalone and unpack in my /repo directory. Then, I run createrepo on those directories and (if needed) create/edit my /etc/yum.repos.d/lo...
by Thraex
2019/06/25 12:20:03
Forum: CentOS 7 - Networking Support
Topic: "/var/www/html/" or "/srv/" ?
Replies: 3
Views: 838

Re: "/var/www/html/" or "/srv/" ?

Either one should work the same. The default is /var/www/html so it shouldn't need too much to work but if you want to use /srv/, just make sure your SELinux contexts are correct and httpd knows that's where to look

Go to advanced search