more vm experiment results
bootstrap log saved on bootstrapped node
Retrieving chef node name from bootstrap log

It avoids the overhead of one more ssh connection
and the use of that complex and subjetive script
(I believe parsing the bootstrap log it is a safer and faster source to this information)