The 'domain' variable should be 'vmName'.