Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #346 from nitkon/master
Browse files Browse the repository at this point in the history
image_builder: create /etc/resolv.conf
  • Loading branch information
bergwolf authored Aug 22, 2019
2 parents 88f8216 + 862b077 commit 64caa3f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions image-builder/image_builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 64caa3f

Please sign in to comment.