Fix Error opening terminal: unknown.

export TERM=xterm before running the installimage command.
Hetzner uses a tool that requires a term in the current installimage
script.