initial devkey support
fixed HOME expansion
create devkey file in vm