mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-28 04:21:03 +00:00
Merge pull request #11199 from fidencio/topic/kata-deploy-fix-multiInstallSufix-behaviour-during-restarts
helm: Avoid appending the multiInstallSuffix several times
This commit is contained in:
commit
78ff72a386
@ -352,6 +352,11 @@ function adjust_qemu_cmdline() {
|
||||
[[ "${shim}" =~ ^(qemu|qemu-coco-dev)$ ]] && qemu_share="qemu"
|
||||
|
||||
qemu_binary=$(tomlq '.hypervisor.qemu.path' ${config_path} | tr -d \")
|
||||
if [[ -n "${MULTI_INSTALL_SUFFIX}" ]] && [[ "${qemu_binary}" == *-installation-prefix ]]; then
|
||||
# This means that we'e already adapted the qemu-binary to the
|
||||
# correct path, and we have nothing else to do here.
|
||||
return
|
||||
fi
|
||||
qemu_binary_script="${qemu_binary}-installation-prefix"
|
||||
qemu_binary_script_host_path="/host/${qemu_binary_script}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user