def _find_arch_and_dist(ctx): """ Return the arch and distro value as a tuple. """ info = ctx.config.get('machine_type', 'plana') if teuthology.is_arm(info): return ('armv7l', 'quantal') return ('x86_64', 'precise')
def _find_arch_and_dist(ctx): """ Return the arch and distro value as a tuple. Currently this only returns armv7l on the quantal distro or x86_64 on the precise distro :param ctx: Context :returns: arch,distro """ info = ctx.config.get('machine_type', 'plana') if teuthology.is_arm(info): return ('armv7l', 'quantal') return ('x86_64', 'precise')