This repository has been archived by the owner on May 12, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
network: Fix Could not create destination mount point: /etc/resolv.conf
agent does not check if /etc/resolv.conf exists, if it does not exist, setDns will fail and causes the container to fail to run. sometimes,we don't need dns in guest vm, so it's better to skip and return nil if /etc/resolv.conf does not exists. Fixes: #829 Signed-off-by: Shukui Yang <[email protected]>
- Loading branch information