Register - Login
Views: 95780151
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
11-16-18 07:12:32 PM

Jul - Computers and Technology - How the hell do I even set up CentOS kickstart? New poll - New thread - New reply
Next newer thread | Next older thread
Lunaria

Moon Bunny! :3
Level: 132


Posts: 5500/5620
EXP: 27073541
For next: 58392

Since: 07-28-07

Pronouns: she/her
From: pile of fluff

Since last post: 10 days
Last activity: 3 days

Posted on 02-27-18 02:58:15 PM (last edited by Lunaria at 02-27-18 03:00:56 PM) Link | Quote
I'm literally steaming mad at this piece of garbage at this point. I have spent at least 14+ hours over several weeks trying figure out how this piece of garbage even fucking works.

Maybe someone with more linux experience can offer a hand? I apologize in advance if I come across as rude and/or ungrateful here, it's mainly because this whole debacle is freaking absurd. And I'm literally clueless how the teachers at this university expects people to do this the first thing they do on an introductory level course. (No pre-knowledge of linux required!)


Anyway, I'm sitting with a virtual solution running ESXI's wmware. I have a CentOS 7 installation running already that I got and I set up the kickstart file in that to have all the settings I want for new builds. The CentOS OS mirror itself is hosted on the school network so the kickstart file should access that on it's own.

Now here's the confusion for me:
I have no clue whatsoever how a bare metal machine is supposed to access the freaking kickstart file, clearly the machine would have to access the install media first, right? But this is supposed to be automated.
Secondly, I have no freaking clue how to make the kickstart file itself accessible on the freaking network. That might sound simple to you linux people, but we are thrown headfirst into this with literally zero lectures on how to actually do the garbage in the lab.

I'd ask these questions on discord, but e-mail validation every time I use the lab is shit. Any help is appreciated, even if it might not sound like it.

Edit: Also, I would prefer not getting linked a guide unless it's some obscure really good one. I have tried following the one CentOS have as well as the one from Redhat, (and a few other ones). But none of them have at all been helpful in teaching me how to do this.
Lunaria

Moon Bunny! :3
Level: 132


Posts: 5504/5620
EXP: 27073541
For next: 58392

Since: 07-28-07

Pronouns: she/her
From: pile of fluff

Since last post: 10 days
Last activity: 3 days

Posted on 02-27-18 06:46:11 PM Link | Quote
Just compiling this here so I can access it later when I'm in the lab the next time.


Not necessarily
You can create a live boot image with a kickstart file baked in
But the path of least resistance here is just taking your bog standard school-provided CentOS boot image, and then messing with the configuration options instead of immediately installing
you can point to the kickstart file from there

Take a look at Section 7.2 in that documentation I linked
The first thing you should see when booting from USB is something similar to that screen
You can manually edit the boot options from there

the Kickstart chapter (26) tells you what options you need to override to point it to a kickstart file
Note that you still have to make sure your kickstart file is available on the network (so you still need to set up a basic HTTP server and stick the file in there), and you would also need to manually configure the network on the target system
This is still infinitely easier than actually having to set up a full network boot system
Lunaria

Moon Bunny! :3
Level: 132


Posts: 5520/5620
EXP: 27073541
For next: 58392

Since: 07-28-07

Pronouns: she/her
From: pile of fluff

Since last post: 10 days
Last activity: 3 days

Posted on 03-05-18 09:13:34 AM (last edited by Lunaria at 03-05-18 09:14:33 AM) Link | Quote
Lamo, I just found out that kickstart supports adding users internally, rather than doing it in the %post block. What a shame that literally help I found while searching online actually suggested this. Like, all help threads and such I found suggested using useradd and supplying that with crypto key.

This course is a mess. At least I have the kickstart sort of working, but having to do a new install every time I try a new variation for adding users.

Bleh, at least some progress: Insert gif of hackerman

The windows installation is so I have something proper to write my report in. The second computer I'm working from is a network boot that refreshes itself every time, so you can't save anything on it. Because, yay, only one disk to work with in this lab.
Next newer thread | Next older thread
Jul - Computers and Technology - How the hell do I even set up CentOS kickstart? New poll - New thread - New reply




Rusted Logic

Acmlmboard - commit 220d144 [2018-11-04]
©2000-2018 Acmlm, Xkeeper, Inuyasha, et al.

25 database queries.
Query execution time: 0.186152 seconds
Script execution time: 0.008366 seconds
Total render time: 0.194518 seconds