From c2a77d08447f1ff55a23d6022a24e97b0583f1fd Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Fri, 3 Feb 2017 16:44:55 -0800 Subject: [PATCH] do not install isc-dhcp & inetd recommended packages --- faiserver-setup | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/faiserver-setup b/faiserver-setup index a48a00c..2ecf45b 100755 --- a/faiserver-setup +++ b/faiserver-setup @@ -57,16 +57,11 @@ apt-get update # all the dependencies except the dhcp server deps="$(apt-cache show fai-quickstart | grep ^Depends: |head -n 1|\ sed -r 's/^Depends:|,|\|[^,]+|isc-dhcp-server//g')" -to_install=(tar) -for pkg in $deps; do - dpkg -s $pkg &>/dev/null && continue ||: - to_install+=($pkg) - # just so we have a record. - echo `date` $pkg >>/var/log/fai-manually-installed-packages.log -done -if [[ $to_install ]]; then - apt-get -y install ${to_install[@]} -fi + +# Relevant packages from fai-quickstart depends and fai-server recommends. +# I especially do not wait isc-dhcp-server or an inetd +apt-get install -y fai-doc nfs-kernel-server tftpd-hpa tar reprepro squashfs-tools binutils +apt-get install -y --no-recommends fai-server r=http://http.us.debian.org/debian # like default, but scrap httpredir, and nonfree. -- 2.30.2