Message ID | 20111129093716.13982.26100.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'lava_server/manage.py' --- lava_server/manage.py 2011-10-11 09:20:14 +0000 +++ lava_server/manage.py 2011-11-21 00:04:17 +0000 @@ -78,13 +78,13 @@ group.add_argument( "-i", "--instance", action="store", - default=None, + default='lava' if 'VIRTUAL_ENV' in os.environ else None, help="Use the specified instance (works only with --production)") group.add_argument( "-I", "--instance-template", action="store", default=( - "/srv/lava/instances/{instance}" + "/srv/lava/{instance}" "/etc/lava-server/{{filename}}.conf"), help=( "Template used for constructing instance pathname."