mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-16 06:18:58 +00:00
Merge pull request #346 from nitkon/master
image_builder: create /etc/resolv.conf
This commit is contained in:
@@ -391,6 +391,9 @@ create_rootfs_image() {
|
||||
info "Creating empty machine-id to allow systemd to bind-mount it"
|
||||
touch "${mount_dir}/etc/machine-id"
|
||||
|
||||
info "Creating empty resolv.conf to allow kata-agent to bind-mount it"
|
||||
touch "${mount_dir}/etc/resolv.conf"
|
||||
|
||||
info "Unmounting root partition"
|
||||
umount "${mount_dir}"
|
||||
OK "Root partition unmounted"
|
||||
|
Reference in New Issue
Block a user