cloudapi: add live-installer
This was missing to enable `live-installer` in the CloudAPI.
This commit is contained in:
parent
d0a5da6866
commit
326f0cfa2f
1 changed files with 4 additions and 0 deletions
|
|
@ -565,6 +565,8 @@ func (h *apiHandlers) PostCompose(ctx echo.Context) error {
|
||||||
fallthrough
|
fallthrough
|
||||||
case ImageTypesIotInstaller:
|
case ImageTypesIotInstaller:
|
||||||
fallthrough
|
fallthrough
|
||||||
|
case ImageTypesLiveInstaller:
|
||||||
|
fallthrough
|
||||||
case ImageTypesEdgeCommit:
|
case ImageTypesEdgeCommit:
|
||||||
fallthrough
|
fallthrough
|
||||||
case ImageTypesIotCommit:
|
case ImageTypesIotCommit:
|
||||||
|
|
@ -783,6 +785,8 @@ func imageTypeFromApiImageType(it ImageTypes, arch distro.Arch) string {
|
||||||
return "iot-installer"
|
return "iot-installer"
|
||||||
case ImageTypesIotRawImage:
|
case ImageTypesIotRawImage:
|
||||||
return "iot-raw-image"
|
return "iot-raw-image"
|
||||||
|
case ImageTypesLiveInstaller:
|
||||||
|
return "live-installer"
|
||||||
}
|
}
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue