ESXi 4.1 + Optiplex 980 = FAIL
I tried installing ESXi on a stock SFF Optiplex 980 just to play, and the installer crashes halfway through. The error looks like it doesn't support the storage controller.
I'll have to play with it more later. I just wanted to see what would happen without doing any heavy thinking.
Sending HTML email from a bash script
I had a situation where I needed to set up a cron job to send email reports based on the contents of a dynamically generated web page. I tried piping the output of wget and curl to the mail command, but each time the recipient would receive raw HTML instead of an HTML formatted email.
This was far more challenging than one would initially guess.
After a lot of googling and trial and error I came up with the following:
(cat <<EOCAT
Subject: ##Subject##
From: from@address.edu
MIME-Version: 1.0
Content-Type: text/html
Content-Disposition: inline
EOCAT
curl https://www.edu/url/?view=123) | /usr/sbin/sendmail email@address
Posting it here may help someone else, or help me later.