download set with c= to match every host of a cluster

This commit is contained in:
Mikaël Cluseau
2026-06-17 22:20:48 +02:00
parent d975836adf
commit f6b301c9a0
6 changed files with 54 additions and 27 deletions
+3 -4
View File
@@ -79,12 +79,11 @@ const ClusterAccess = {
generateDownloadSet() {
event.preventDefault()
const hosts = this.hostCount ? (this.state.Hosts||[]).filter(h => h.Cluster == this.cluster.Name) : []
const items = hosts.map(h => ({
const items = [{
Kind: "host",
Name: h.Name,
Name: "c=" + this.cluster.Name,
Assets: this.selectedAssetList,
}))
}]
fetch('/sign-download-set', {
method: 'POST',