From: Michael Prokop Date: Tue, 9 Jun 2015 22:04:08 +0000 (+0200) Subject: Report CONFFILES usage in config overview X-Git-Tag: v0.72~1 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=3e504efb7af3ec5ab9b76104d626bf0e23c2fab3 Report CONFFILES usage in config overview CONFFILES defaults to /etc/debootstrap, but especially if something else gets used (e.g. with packer runs and GRML_DEBOOTSTRAP_VERSION=local) this should be clearly visible on the execution screen. --- diff --git a/grml-debootstrap b/grml-debootstrap index 6e4182d..107a186 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -785,6 +785,8 @@ elif [ -n "$INTERACTIVE" ] ; then Using ISO: $ISO" [ -n "$ARCH" ] && INFOTEXT="$INFOTEXT Using arch: $ARCH" + [ -n "$CONFFILES" ] && INFOTEXT="$INFOTEXT + Config files: $CONFFILES" INFOTEXT="$INFOTEXT @@ -808,11 +810,12 @@ else # if not running automatic installation display configuration and prompt fo [ -n "$GRUB" ] && echo " Install grub: $GRUB" || echo " Install grub: no" fi - [ -n "$RELEASE" ] && echo " Using release: $RELEASE" - [ -n "$HOSTNAME" ] && echo " Using hostname: $HOSTNAME" - [ -n "$MIRROR" ] && echo " Using mirror: $MIRROR" - [ -n "$ISO" ] && echo " Using ISO: $ISO" - [ -n "$ARCH" ] && echo " Using arch: $ARCH" + [ -n "$RELEASE" ] && echo " Using release: $RELEASE" + [ -n "$HOSTNAME" ] && echo " Using hostname: $HOSTNAME" + [ -n "$MIRROR" ] && echo " Using mirror: $MIRROR" + [ -n "$ISO" ] && echo " Using ISO: $ISO" + [ -n "$ARCH" ] && echo " Using arch: $ARCH" + [ -n "$CONFFILES" ] && echo " Config files: $CONFFILES" if [ -n "$VIRTUAL" ] ; then echo " Deploying as Virtual Machine." if [ -n "$VMSIZE" -a -n "$VMFILE" ]; then