#!/bin/bash
echo "I: running $0"
apt -y purge exim4-base nfs-common rpcbind firmware-netronome grub*

if [ -f "/usr/bin/x86_64" ] ; then 
    apt purge $(apt list --installed |grep linux-image |grep -v bpo| sed 's#/.*##') -y
fi