(context)
return prop[INSTANCE_NAME] if named else common.AutoName(name,
                                                           default.INSTANCE)
Generates the VM name.
Generates the VM name.
Generates the VM name .
def MakeVMName(context):
  """Generates the VM name."""
  name = context.env['name']
  prop = context.properties
  named = INSTANCE_NAME in prop
  return prop[INSTANCE_NAME] if named else common.AutoName(name,
                                                           default.INSTANCE)
def MakeVMName ( context ) : name = context . env [ 'name' ] prop = context . properties named = INSTANCE_NAME in prop return prop [ INSTANCE_NAME ] if named else common . AutoName ( name , default . INSTANCE )