Tagging this UI as the backend already provides this functionality.
The websocket already provides when each image was last updated
"resources": [ { "id": 11, "rtype": 0, "name": "ubuntu/focal", "title": "20.04 LTS", "arch": "amd64", "size": "558.5 MB", "complete": true, "status": "Synced", "icon": "succeeded", "downloading": false, "numberOfNodes": 0, "lastUpdate": "Thu, 21 May. 2020 19:21:54" }, { "id": 1, "rtype": 0, "name": "ubuntu/bionic", "title": "18.04 LTS", "arch": "amd64", "size": "625.9 MB", "complete": true, "status": "Synced", "icon": "succeeded", "downloading": false, "numberOfNodes": 12, "lastUpdate": "Thu, 21 May. 2020 19:21:53" }, { "id": 13, "rtype": 2, "name": "centos/8-custom", "title": "CentOS 8 Custom", "arch": "amd64", "size": "523.5 MB", "complete": true, "status": "Synced", "icon": "succeeded", "downloading": false, "numberOfNodes": 0, "lastUpdate": "Fri, 13 Mar. 2020 23:32:21" } ],
The config option boot_images_auto_import sets whether images are automatically imported.
Tagging this UI as the backend already provides this functionality.
The websocket already provides when each image was last updated
"resources": [ downloading" : false, numberOfNodes" : 0, downloading" : false, numberOfNodes" : 12, downloading" : false, numberOfNodes" : 0,
{
"id": 11,
"rtype": 0,
"name": "ubuntu/focal",
"title": "20.04 LTS",
"arch": "amd64",
"size": "558.5 MB",
"complete": true,
"status": "Synced",
"icon": "succeeded",
"
"
"lastUpdate": "Thu, 21 May. 2020 19:21:54"
},
{
"id": 1,
"rtype": 0,
"name": "ubuntu/bionic",
"title": "18.04 LTS",
"arch": "amd64",
"size": "625.9 MB",
"complete": true,
"status": "Synced",
"icon": "succeeded",
"
"
"lastUpdate": "Thu, 21 May. 2020 19:21:53"
},
{
"id": 13,
"rtype": 2,
"name": "centos/8-custom",
"title": "CentOS 8 Custom",
"arch": "amd64",
"size": "523.5 MB",
"complete": true,
"status": "Synced",
"icon": "succeeded",
"
"
"lastUpdate": "Fri, 13 Mar. 2020 23:32:21"
}
],
The config option boot_images_ auto_import sets whether images are automatically imported.