kvm2 provider: clean-room libvirt/KVM provider, code review, and the four high findings #8
@@ -22,7 +22,7 @@ func seedVolumeName(name string) string { return name + "-seed.iso" }
|
|||||||
func baseVolumeName(entry, key, format string) string {
|
func baseVolumeName(entry, key, format string) string {
|
||||||
return "base-" + entry + "-" + key + "." + format
|
return "base-" + entry + "-" + key + "." + format
|
||||||
}
|
}
|
||||||
func markerVolumeName(baseName string) string { return baseName + ".sha256" }
|
func markerVolumeName(baseName string) string { return baseName + ".sha256" }
|
||||||
|
|
||||||
// urlImageKey stands in for the catalogue key of an image given as a URL:
|
// urlImageKey stands in for the catalogue key of an image given as a URL:
|
||||||
// the first 16 hex characters of sha256(url).
|
// the first 16 hex characters of sha256(url).
|
||||||
|
|||||||
Reference in New Issue
Block a user