浏览文件
26-host-services.sh
13 行 · 385 B历史下载| 1 | |
| 2 | |
| 3 | # SPDX-FileCopyrightText: Copyright The Lima Authors |
| 4 | # SPDX-License-Identifier: Apache-2.0 |
| 5 | |
| 6 | set -eux |
| 7 | |
| 8 | # Pre-create /run/host-services owned by the guest user. |
| 9 | # This allows the hostagent to create the SSH agent socket symlink |
| 10 | # without requiring passwordless sudo. |
| 11 | mkdir -p /run/host-services |
| 12 | chmod 700 /run/host-services |
| 13 | chown -R "${LIMA_CIDATA_USER}" /run/host-services |

