bootstrap: Force apt not to install recommends
This is ending up in weird situations like a server having x11-common installed.
This commit is contained in:
parent
1f2b2f4a2f
commit
fb92d9413a
|
@ -8,6 +8,13 @@
|
|||
sed -i'' -E 's/^deb[[:space:]]+cdrom:.*$//g' /etc/apt/sources.list
|
||||
apt-get update
|
||||
|
||||
# Disable apt's install recommends, not having this is making server
|
||||
# installations end up with things like X11
|
||||
cat > /etc/apt/apt.conf.d/01norecommend << EOF
|
||||
APT::Install-Recommends "0";
|
||||
APT::Install-Suggests "0";
|
||||
EOF
|
||||
|
||||
# Basic system utilities
|
||||
apt-get install -y vim tmux screen tcpdump nmap cloud-init qemu-guest-agent sudo parted xfsprogs openssh-server
|
||||
|
||||
|
|
Reference in a new issue