BOOT_ARGS="-no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -input-charset utf-8"
+PACKAGES="bc git libpcre3 mbuffer lsscsi bind9-host bind9utils megacli storcli lvm2"
+
#-------------------------------------------------------------------
detect_color() {
#------------------------------------------------------------------------------
update_packages() {
-
empty_line
info "Update aller Pakete."
export DEBIAN_FRONTEND="noninteractive"
- CHROOT apt-get dist-upgrade -y || true
+ CHROOT apt dist-upgrade -y || true
empty_line
info "Entfernen überflüssiger Pakete."
CHROOT apt-get autoremove -y || true
}
+#------------------------------------------------------------------------------
+add_packages() {
+ empty_line
+ info "Installiere zusätzliche Pakete: ${PACKAGES}"
+ export DEBIAN_FRONTEND="noninteractive"
+ CHROOT apt install -y ${PACKAGES}
+}
+
#------------------------------------------------------------------------------
unmounting_dirs() {
add_fb_repo
update_packages
+ add_packages
+ sleep 2
+ empty_line
info "Finishing ..."
trap - EXIT INT QUIT TERM
unmangle_resolv_conf