mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-14 03:44:25 +01: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