>>>>> On Mon, 24 Jul 2017 09:11:35 +0200, "Giorgio Buffa" >>>>> <giorgiobuffa.w...@gmail.com> said:
> How can I told that hook that “If doing an installation via USB flash drive use the packages stored in the drive itself, otherwise grab them from Internet”? In general, is there a better way to > do that? How do you perform offline installation? You have to add some code to your hook, that detects if FAI is running from an NFS mounted directory, or from CD/USB stick. If FAI runs from CD (same should be for USB stick) the root file system looks like this when you call df: /dev/mapper/live-rw ....... / -- regards Thomas