Skip to content

Commit

Permalink
use trusted=yes instead of allow-insecure
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Lange committed May 23, 2018
1 parent 7d5d32d commit 6c99dc5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/fai-cd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# fai-cd -- make a fai CD, a bootable CD that performs the FAI
#
# This script is part of FAI (Fully Automatic Installation)
# (c) 2004-2017 by Thomas Lange, lange@informatik.uni-koeln.de
# (c) 2004-2018 by Thomas Lange, lange@informatik.uni-koeln.de
# Universitaet zu Koeln
# Support for grub2 added by Sebastian Hetze, s.hetze@linux-ag.de
# with major support from Michael Prokop, prokop@grml-solutions.com
Expand Down Expand Up @@ -60,7 +60,7 @@ hidedirs="/usr/share/locale /usr/share/doc /var/lib/apt /var/lib/aptitude /var/c
usage() {

cat <<-EOF
fai-cd Copyright (C) 2004-2017 Thomas Lange
fai-cd Copyright (C) 2004-2018 Thomas Lange
Usage: fai-cd [OPTIONS] -m MIRRORDIR ISONAME
Usage: fai-cd [OPTIONS] -B ISONAME
Expand Down Expand Up @@ -335,7 +335,7 @@ EOF
for i in $dists ; do
comp=$(find $mirrordir/dists/$i -maxdepth 2 -type d -name "binary-*" | \
sed -e "s#$mirrordir/*dists/$i/##" -e 's#/binary-.*##' | uniq | tr '\n' " ")
echo "deb [allow-insecure=yes] file:/media/mirror $i $comp" >> $tmp/squashfs-root/LiveOS/mounted-ext3fs/etc/apt/sources.list
echo "deb [trusted=yes] file:/media/mirror $i $comp" >> $tmp/squashfs-root/LiveOS/mounted-ext3fs/etc/apt/sources.list
done

}
Expand Down

0 comments on commit 6c99dc5

Please sign in to comment.