Пример #1
0
def main():
    launcher = Launcher()
    creator = AmiCreator(launcher)
    try:
        result = creator.create('Pre-loaded image for telemetry workers. Use ' \
                                'it for scheduled or adhoc jobs.')
        return result
    except Exception, e:
        print "Error:", e
        traceback.print_exc()
        return 1
def main():
    launcher = Launcher()
    creator = AmiCreator(launcher)
    try:
        result = creator.create('Pre-loaded image for telemetry workers. Use ' \
                                'it for scheduled or adhoc jobs.')
        return result
    except Exception, e:
        print "Error:", e
        traceback.print_exc()
        return 1
def main():
    launcher = TelemetryServerLauncher()
    creator = AmiCreator(launcher)
    try:
        result = creator.create('Pre-loaded image for telemetry nodes. Knows ' \
                                'how to run all the core services, but does ' \
                                'not auto-start them on boot.')
        return result
    except Exception, e:
        print "Error:", e
        traceback.print_exc()
        return 1
def main():
    launcher = TelemetryServerLauncher()
    creator = AmiCreator(launcher)
    try:
        result = creator.create(
            "Pre-loaded image for telemetry nodes. Knows "
            "how to run all the core services, but does "
            "not auto-start them on boot."
        )
        return result
    except Exception, e:
        print "Error:", e
        traceback.print_exc()
        return 1