mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-14 13:29:31 +00:00
kata-deploy: crio.conf: Add some whitespace and comments
When writing our runtime configs to crio.conf, let's add some whitespace and comments to make it clearer, and fit in with the rest of the crio.conf file. Fixes: #412 Signed-off-by: Graham Whaley <graham.whaley@intel.com>
This commit is contained in:
@@ -71,6 +71,8 @@ function configure_crio() {
|
|||||||
sed -i "/^\[$kata_qemu_conf\]/,+1s#runtime_path.*#runtime_path = \"${kata_qemu_path}\"#" $crio_conf_file
|
sed -i "/^\[$kata_qemu_conf\]/,+1s#runtime_path.*#runtime_path = \"${kata_qemu_path}\"#" $crio_conf_file
|
||||||
else
|
else
|
||||||
cat <<EOT | tee -a "$crio_conf_file"
|
cat <<EOT | tee -a "$crio_conf_file"
|
||||||
|
|
||||||
|
# Path to the Kata Containers runtime binary that uses the QEMU hypervisor.
|
||||||
[$kata_qemu_conf]
|
[$kata_qemu_conf]
|
||||||
runtime_path = "${kata_qemu_path}"
|
runtime_path = "${kata_qemu_path}"
|
||||||
EOT
|
EOT
|
||||||
@@ -81,6 +83,8 @@ EOT
|
|||||||
sed -i "/^\[$kata_fc_conf\]/,+1s#runtime_path.*#runtime_path = \"${kata_fc_path}\"#" $crio_conf_file
|
sed -i "/^\[$kata_fc_conf\]/,+1s#runtime_path.*#runtime_path = \"${kata_fc_path}\"#" $crio_conf_file
|
||||||
else
|
else
|
||||||
cat <<EOT | tee -a "$crio_conf_file"
|
cat <<EOT | tee -a "$crio_conf_file"
|
||||||
|
|
||||||
|
# Path to the Kata Containers runtime binary that uses the firecracker hypervisor.
|
||||||
[$kata_fc_conf]
|
[$kata_fc_conf]
|
||||||
runtime_path = "${kata_fc_path}"
|
runtime_path = "${kata_fc_path}"
|
||||||
EOT
|
EOT
|
||||||
|
Reference in New Issue
Block a user