Set DEBIAN_FRONTEND to noninteractive for ubuntu

This is already set for debian, but it is missing for ubuntu.