mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 15:02:45 +00:00
docs: Moving from EOT to EOF
Only this uses EOT, the others are EOF, uniformly changed to EOF to avoid confusion Fixes: #2550 Signed-off-by: Shiming Zhang <wzshiming@foxmail.com>
This commit is contained in:
parent
b24ee4b11e
commit
7a80aeb0b8
@ -71,12 +71,12 @@ $ for service in ${services}; do
|
|||||||
service_dir="/etc/systemd/system/${service}.service.d/"
|
service_dir="/etc/systemd/system/${service}.service.d/"
|
||||||
sudo mkdir -p ${service_dir}
|
sudo mkdir -p ${service_dir}
|
||||||
|
|
||||||
cat << EOT | sudo tee "${service_dir}/proxy.conf"
|
cat << EOF | sudo tee "${service_dir}/proxy.conf"
|
||||||
[Service]
|
[Service]
|
||||||
Environment="HTTP_PROXY=${http_proxy}"
|
Environment="HTTP_PROXY=${http_proxy}"
|
||||||
Environment="HTTPS_PROXY=${https_proxy}"
|
Environment="HTTPS_PROXY=${https_proxy}"
|
||||||
Environment="NO_PROXY=${no_proxy}"
|
Environment="NO_PROXY=${no_proxy}"
|
||||||
EOT
|
EOF
|
||||||
done
|
done
|
||||||
|
|
||||||
$ sudo systemctl daemon-reload
|
$ sudo systemctl daemon-reload
|
||||||
@ -172,7 +172,7 @@ If a pod has the `runtimeClassName` set to `kata`, the CRI plugin runs the pod w
|
|||||||
- Create an pod configuration that using Kata Containers runtime
|
- Create an pod configuration that using Kata Containers runtime
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cat << EOT | tee nginx-kata.yaml
|
$ cat << EOF | tee nginx-kata.yaml
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
@ -183,7 +183,7 @@ If a pod has the `runtimeClassName` set to `kata`, the CRI plugin runs the pod w
|
|||||||
- name: nginx
|
- name: nginx
|
||||||
image: nginx
|
image: nginx
|
||||||
|
|
||||||
EOT
|
EOF
|
||||||
```
|
```
|
||||||
|
|
||||||
- Create the pod
|
- Create the pod
|
||||||
|
Loading…
Reference in New Issue
Block a user