From e659df4cddddb6ecb8924cfb860fb8cc4ea8a8df Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Mon, 5 Oct 2015 15:29:06 +0200 Subject: [PATCH] The appliance should use the gns3a extension --- appliances/{alpine-linux.json => alpine-linux.gns3a} | 0 new_appliance.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename appliances/{alpine-linux.json => alpine-linux.gns3a} (100%) diff --git a/appliances/alpine-linux.json b/appliances/alpine-linux.gns3a similarity index 100% rename from appliances/alpine-linux.json rename to appliances/alpine-linux.gns3a diff --git a/new_appliance.py b/new_appliance.py index 7df9961..1dd2df9 100644 --- a/new_appliance.py +++ b/new_appliance.py @@ -92,7 +92,7 @@ with open(os.path.join('schemas', 'appliance.json')) as f: appliance_name = ask('Appliance id (example: cisco-asav)') # TODO check if file exists -with open(os.path.join('appliances', appliance_name + '.json'), 'w+') as f: +with open(os.path.join('appliances', appliance_name + '.gns3a'), 'w+') as f: appliance = {} appliance = ask_from_schema(schema) appliance['qemu'] = ask_from_schema(schema['properties']['qemu'])