bootstrap-vz/debian-build-cloud
2013-07-08 23:13:56 +02:00

18 lines
513 B
Python
Executable file

#!/usr/bin/env python
def main():
from argparse import ArgumentParser
import ec2
parser = ArgumentParser(description='Bootstrap Debian for the cloud.')
parser.add_argument('--debug', action='store_true',
help='Print debugging information')
subparsers = parser.add_subparsers(title='providers', description='supported providers', dest='provider')
ec2.init_subparser(subparsers)
args = parser.parse_args()
args.func(args)
if __name__ == '__main__' and __package__ is None:
main()