On Sat, Sep 5, 2020 at 2:14 PM Vojtěch Polášek <krecoun(a)gmail.com> wrote:
my name is Vojta and I am a blind programmer from Czech Republic. I am
trying to create a special live image for blind and visually impaired users.
I have experience with kickstarts, this is the project I am trying to
turn into live image:
In the %post section I try to clone some git repos and build something
so that I can later put it on the live image. Is that possible? Because
it seems that I can't access the internet within the %post section.
If you are not cutting off internet access explicitly (or running it
in a build system that will do that automatically, like Koji does),
then you can. However, it is likely that DNS will not be working
inside the chroot that %post runs in because the /etc/resolv.conf file
is not populated. You could populate it temporarily, and then reset it
back after you're done so that the live media will correctly detect
and auto-populate DNS settings on boot.
真実はいつも一つ！/ Always, there's only one truth!