Support setting host attributes via the command line

Signed-off-by: Lewis Marshall <lewis@lmars.net>