iankelling.org
/
git
/
automated-distro-installer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
83828fe
)
do not install isc-dhcp & inetd recommended packages
author
Ian Kelling
<ian@iankelling.org>
Sat, 4 Feb 2017 00:44:55 +0000
(16:44 -0800)
committer
Ian Kelling
<ian@iankelling.org>
Mon, 6 Feb 2017 06:21:42 +0000
(22:21 -0800)
faiserver-setup
patch
|
blob
|
history
diff --git
a/faiserver-setup
b/faiserver-setup
index a48a00c43def737cfe45334657991c0f00ad670b..2ecf45b69fe0b4d813d7520aaa04704047e3097f 100755
(executable)
--- 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')"
# 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.
r=http://http.us.debian.org/debian
# like default, but scrap httpredir, and nonfree.