Fix variables scope.

ref #1
Set VM's fqdn