detect Amazon Linux with /etc/system-release and treat like debian