Re: Generating packages list to install via hook

Thomas Lange <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
>>>>> On Tue, 31 Mar 2020 10:40:01 +0200, Emmanuel Kasper <[email protected]> said:

    > so I wrote this hook
    > https://salsa.debian.org/cloud-team/debian-cloud-images/snippets/413

    > which is properly called by fai, but the problem is that $FAI_CONFIGDIR
    > is undefined in the environement where the hook script is running

When I ran
# LC_ALL=C fai -v dirinstall -c $cl -s  file:///srv/fai/config  /srv/chroot

($cl is my list of classes) $FAI is set to /srv/fai/config. This
should be writeable for root, but remember that you should remove a temporarily
generated file because you will modify your local config space
(because of file://)

-- 
regards Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.