bootstrap vs bootstrap --minimal

simson-san

New Member
Aug 27, 2014
2
0
1
Hello!

I want to use dab to create a Debian 7 Wheezy OpenVZ server-template that includes all basic packages and configurations that is needed for every Debian OpenVZ Container in my local network.

Here a the important entries in my dab.conf I used to accomplish this task.
Code:
Suite: wheezy
Architecture: amd64
Name: debian-7.6
Version: 7.6-1
Section: system
Maintainer: xxx
Infopage: xxx
Description: Debian 7 Wheezy
When using tasksel in Debian to install the "Standard system utilities" it does not install all of the X11 packages but when using the default "dab bootstrap" command it will install x11-apps, x11-common, x11-session-utils, x11-utils, x11-xfs-utils, x11-xkb-utils and x11-xserver-utils.
The problem is I want to install all of the commonly used system utilities but i don't want the X11 tools or a X-Server to be installed on my Debian Servers.
And I am not really sure what packages i exactly need otherwise I would just install the minimal packages and install all others after that manually.

So is there a possibility to use dab bootstrap and install all "common system utilities" but not the X11 stuff?


Maybe some people are interested in what packages come with either the default "dab bootstrap" or the "dab bootstrap --minimal" so here are the lists.

minimal
Code:
dab bootstrap
default
Code:
dab bootstrap --minimal
150 packages
Code:
adduser
apt
apt-utils
aptitude
aptitude-common
base-files
base-passwd
bash
bsdmainutils
bsdutils
coreutils
cpio
cron
dash
debconf
debconf-i18n
debian-archive-keyring
debianutils
diffutils
dmidecode
dpkg
e2fslibs
e2fsprogs
findutils
gcc-4.7-base
gnupg
gpgv
grep
groff-base
gzip
hostname
ifupdown
info
initscripts
insserv
install-info
iproute
iptables
iputils-ping
isc-dhcp-client
isc-dhcp-common
kmod
less
libacl1
libapt-inst1.5
libapt-pkg4.12
libattr1
libblkid1
libboost-iostreams1.49.0
libbsd0
libbz2-1.0
libc-bin
libc6
libcomerr2
libcwidget3
libdb5.1
libedit2
libept1.4.12
libgcc1
libgcrypt11
libgdbm3
libgnutls26
libgpg-error0
libgssapi-krb5-2
libidn11
libk5crypto3
libkeyutils1
libkmod2
libkrb5-3
libkrb5support0
liblocale-gettext-perl
liblzma5
libmount1
libncurses5
libncursesw5
libnewt0.52
libnfnetlink0
libp11-kit0
libpam-modules
libpam-modules-bin
libpam-runtime
libpam0g
libpipeline1
libpopt0
libprocps0
libreadline6
libsasl2-2
libselinux1
libsemanage-common
libsemanage1
libsepol1
libsigc++-2.0-0c2a
libslang2
libsqlite3-0
libss2
libssl1.0.0
libstdc++6
libtasn1-3
libtext-charwidth-perl
libtext-iconv-perl
libtext-wrapi18n-perl
libtinfo5
libudev0
libusb-0.1-4
libustr-1.0-1
libuuid1
libwrap0
libxapian22
login
logrotate
lsb-base
man-db
manpages
mawk
mount
multiarch-support
nano
ncurses-base
ncurses-bin
net-tools
netbase
netcat-traditional
openssh-client
openssh-server
openssl
passwd
perl-base
postfix
procps
readline-common
rsyslog
sed
sensible-utils
ssh
ssl-cert
sysv-rc
sysvinit
sysvinit-utils
tar
tasksel
tasksel-data
traceroute
tzdata
util-linux
vim-common
vim-tiny
wget
whiptail
xz-utils
zlib1g
291 packages
Code:
adduser
apt
apt-listchanges
apt-utils
aptitude
aptitude-common
at
base-files
base-passwd
bash
bash-completion
bc
bind9-host
bsd-mailx
bsdmainutils
bsdutils
bzip2
coreutils
cpio
cpp
cpp-4.7
cron
dash
db5.1-util
dc
debconf
debconf-i18n
debian-archive-keyring
debian-faq
debianutils
diffutils
dmidecode
dnsutils
doc-debian
dpkg
e2fslibs
e2fsprogs
file
findutils
fontconfig-config
ftp
gcc-4.7-base
gettext-base
gnupg
gpgv
grep
groff-base
gzip
host
hostname
ifupdown
info
initscripts
insserv
install-info
iproute
iptables
iputils-ping
isc-dhcp-client
isc-dhcp-common
kmod
krb5-locales
less
libacl1
libapt-inst1.5
libapt-pkg4.12
libasprintf0c2
libattr1
libbind9-80
libblkid1
libboost-iostreams1.49.0
libbsd0
libbz2-1.0
libc-bin
libc6
libc6-i386
libcap2
libclass-isa-perl
libcomerr2
libcwidget3
libdb5.1
libdns88
libdrm2
libedit2
libept1.4.12
libevent-2.0-5
libexpat1
libfontconfig1
libfontenc1
libfreetype6
libfs6
libgc1c2
libgcc1
libgcrypt11
libgdbm3
libgeoip1
libgl1-mesa-glx
libglapi-mesa
libgmp10
libgnutls-openssl27
libgnutls26
libgpg-error0
libgpgme11
libgpm2
libgssapi-krb5-2
libgssglue1
libgssrpc4
libice6
libidn11
libisc84
libisccc80
libisccfg82
libk5crypto3
libkadm5clnt-mit8
libkadm5srv-mit8
libkdb5-6
libkeyutils1
libkmod2
libkrb5-3
libkrb5support0
libldap-2.4-2
liblocale-gettext-perl
liblockfile-bin
liblockfile1
liblwres80
liblzma5
libmagic1
libmount1
libmpc2
libmpfr4
libncurses5
libncursesw5
libnewt0.52
libnfnetlink0
libnfsidmap2
libp11-kit0
libpam-modules
libpam-modules-bin
libpam-runtime
libpam0g
libpci3
libpcre3
libpipeline1
libpng12-0
libpopt0
libprocps0
libpth20
libreadline6
librpcsecgss3
libsasl2-2
libselinux1
libsemanage-common
libsemanage1
libsepol1
libsigc++-2.0-0c2a
libslang2
libsm6
libsqlite3-0
libss2
libssl1.0.0
libstdc++6
libswitch-perl
libtasn1-3
libtext-charwidth-perl
libtext-iconv-perl
libtext-wrapi18n-perl
libtinfo5
libtirpc1
libtokyocabinet9
libudev0
libusb-0.1-4
libustr-1.0-1
libuuid1
libwrap0
libx11-6
libx11-data
libx11-xcb1
libxapian22
libxau6
libxaw7
libxcb-glx0
libxcb-shape0
libxcb1
libxcomposite1
libxcursor1
libxdamage1
libxdmcp6
libxext6
libxfixes3
libxft2
libxi6
libxinerama1
libxkbfile1
libxml2
libxmu6
libxmuu1
libxpm4
libxrandr2
libxrender1
libxt6
libxtst6
libxv1
libxxf86dga1
libxxf86vm1
locales
login
logrotate
lsb-base
lsof
m4
man-db
manpages
mawk
mime-support
mlocate
mount
multiarch-support
mutt
nano
ncurses-base
ncurses-bin
ncurses-term
net-tools
netbase
netcat-traditional
openssh-client
openssh-server
openssl
passwd
patch
perl
perl-base
perl-modules
postfix
procmail
procps
python
python-apt
python-apt-common
python-chardet
python-debian
python-debianbts
python-fpconst
python-minimal
python-reportbug
python-soappy
python-support
python2.6-minimal
python2.7
python2.7-minimal
readline-common
reportbug
rpcbind
rsyslog
sed
sensible-utils
ssh
ssl-cert
sysv-rc
sysvinit
sysvinit-utils
tar
tasksel
tasksel-data
telnet
texinfo
time
traceroute
ttf-dejavu-core
tzdata
ucf
util-linux
vim-common
vim-tiny
w3m
wamerican
wget
whiptail
whois
x11-apps
x11-common
x11-session-utils
x11-utils
x11-xfs-utils
x11-xkb-utils
x11-xserver-utils
xauth
xbase-clients
xinit
xz-utils
zlib1g

These packages are additionally installed when using not the "--minimal" parameter.
141 packages
Code:
apt-listchanges
at
bash-completion
bc
bind9-host
bsd-mailx
bzip2
cpp
cpp-4.7
db5.1-util
dc
debian-faq
dnsutils
doc-debian
file
fontconfig-config
ftp
gettext-base
host
krb5-locales
libasprintf0c2
libbind9-80
libc6-i386
libcap2
libclass-isa-perl
libdns88
libdrm2
libevent-2.0-5
libexpat1
libfontconfig1
libfontenc1
libfreetype6
libfs6
libgc1c2
libgeoip1
libgl1-mesa-glx
libglapi-mesa
libgmp10
libgnutls-openssl27
libgpgme11
libgpm2
libgssglue1
libgssrpc4
libice6
libisc84
libisccc80
libisccfg82
libkadm5clnt-mit8
libkadm5srv-mit8
libkdb5-6
libldap-2.4-2
liblockfile-bin
liblockfile1
liblwres80
libmagic1
libmpc2
libmpfr4
libnfsidmap2
libpci3
libpcre3
libpng12-0
libpth20
librpcsecgss3
libsm6
libswitch-perl
libtirpc1
libtokyocabinet9
libx11-6
libx11-data
libx11-xcb1
libxau6
libxaw7
libxcb-glx0
libxcb-shape0
libxcb1
libxcomposite1
libxcursor1
libxdamage1
libxdmcp6
libxext6
libxfixes3
libxft2
libxi6
libxinerama1
libxkbfile1
libxml2
libxmu6
libxmuu1
libxpm4
libxrandr2
libxrender1
libxt6
libxtst6
libxv1
libxxf86dga1
libxxf86vm1
locales
lsof
m4
mime-support
mlocate
mutt
ncurses-term
patch
perl
perl-modules
procmail
python
python-apt
python-apt-common
python-chardet
python-debian
python-debianbts
python-fpconst
python-minimal
python-reportbug
python-soappy
python-support
python2.6-minimal
python2.7
python2.7-minimal
reportbug
rpcbind
telnet
texinfo
time
ttf-dejavu-core
ucf
w3m
wamerican
whois
x11-apps
x11-common
x11-session-utils
x11-utils
x11-xfs-utils
x11-xkb-utils
x11-xserver-utils
xauth
xbase-clients
xinit
 
Last edited:

Mr.Holmes

Member
Apr 5, 2014
281
3
16
Hello simson

So is there a possibility to use dab bootstrap and install all "common system utilities" but not the X11 stuff?
I tried the following with success (= starts up well and tested some basics but not all functions in detail):

Code:
dab bootstrap 
vzctl enter 90000
#in container:
aptitude remove libx11-6
#answer all questions with "Y"
aptitude remove x11-common
#answer all questions with "Y"
exit
#returned into host
dab finalize
But I don´t see a big advantage - the size is minimal (10MB) less than with x11.

Btw: I think you mixed up "minimal" and "default" in the table above.

Kind regards

Mr.Holmes
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!