#66 Create kickstart file
Closed None Opened 5 years ago by pfrields.

What: Based on the Base Image's kickstart file, write an extended kickstart file with the image-specifics.

Where: kickstart file is at https://fedorahosted.org/spin-kickstarts/

Why: No kickstart file, no image.

When: Before Fedora 21's first release candidates are built.

Who: Someone in cloud working group in collaboration with the Spins SIG

''(ported from task list at https://fedoraproject.org/wiki/Cloud/Cloud_ToDo)''


Did this ever get done?

Replying to [comment:1 znmeb]:

Did this ever get done?

In fedora-kickstarts there's a fedora-docker-base.ks is that what you're after?

Looks like it - thanks! I'm trying to whittle down the size of the image. So far it looks like the only thing I can get rid of without dependency cascading all the way to "yum" is "grub2". I'll post a separate ticket to see if anyone knows why grub2 is in the image.

Replying to [comment:3 znmeb]:

Looks like it - thanks! I'm trying to whittle down the size of the image. So far it looks like the only thing I can get rid of without dependency cascading all the way to "yum" is "grub2". I'll post a separate ticket to see if anyone knows why grub2 is in the image.

Pretty sure that's been discussed on the cloud mailing list already, I'd read the archives and then post to the list first.

Replying to [comment:4 pbrobinson]:

Pretty sure that's been discussed on the cloud mailing list already, I'd read the archives and then post to the list first.

Hmmm if so I forgot. :) There's also firewalld, and a lot of other stuff like dracut and kpartx which doesn't need to be in a docker container.

Beyond that, there's a lot of grunt work -- a lightweight system-only packaging of python, breaking systemd packaging into more modular parts, smaller cracklib dicts (see https://bugzilla.redhat.com/show_bug.cgi?id=865521), etc.

OK - there's an email thread now on cloud@lists.fedoraproject.org header "Size of base Fedora 32 Docker image". So I want to take the kickstart file, add "-grub2 -firewalld -dracut -kpartx" and see how big the image is.

How does one make an image? I looked at the Dockerfile on Docker Hub and it imports a tarball. How does one make that tarball via, say, livemedia-creator, from a kickstart?

Replying to [comment:6 znmeb]:

OK - there's an email thread now on cloud@lists.fedoraproject.org header "Size of base Fedora 32 Docker image". So I want to take the kickstart file, add "-grub2 -firewalld -dracut -kpartx" and see how big the image is.

How does one make an image? I looked at the Dockerfile on Docker Hub and it imports a tarball. How does one make that tarball via, say, livemedia-creator, from a kickstart?

A ticket is not the place to discuss this. The kickstart file is created, the ticket is closed. This is a discussion for the mailing list. There is lots of docs on the internet for dealing with kickstarts and how to use them.

Login to comment on this ticket.

Metadata