コード例 #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
コード例 #2
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
コード例 #3
0
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
コード例 #4
0
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