mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-20 21:33:09 +00:00
parent
f77f415b58
commit
519198eae0
3
build.py
3
build.py
@ -82,7 +82,7 @@ render('downloads.html', 'downloads.html')
|
||||
|
||||
devices = []
|
||||
for device_file in os.listdir('devices'):
|
||||
print("Process " + device_file)
|
||||
log.info("Process " + device_file)
|
||||
out_filename = device_file[:-5]
|
||||
with open(os.path.join('devices', device_file)) as f:
|
||||
device = json.load(f)
|
||||
@ -97,7 +97,6 @@ for device_file in os.listdir('devices'):
|
||||
version['images'][image_type]["type"] = image_type
|
||||
|
||||
render('device.html', os.path.join('devices', out_filename + '.html'), device=device)
|
||||
print(device)
|
||||
devices.append(device)
|
||||
|
||||
# Build a page named with the md5sum of each file of the device
|
||||
|
@ -39,7 +39,7 @@
|
||||
{
|
||||
"name": "4.13.8M",
|
||||
"images": {
|
||||
"hda_disk_image": "Aboot-veos-2.1.0.iso",
|
||||
"hda_disk_image": "Aboot-veos-serial-2.1.0.iso",
|
||||
"hdb_disk_image": "vEOS-lab-4.13.8M.vmdk"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user