mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-29 22:35:03 +00:00
fix up files that Docker bind mounts in so they are not set to desired values
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
This commit is contained in:
@@ -42,6 +42,11 @@ mknod -m 600 sdb6 b 8 22
|
||||
|
||||
mkdir pty
|
||||
|
||||
cd /tmp
|
||||
# these three files are bind mounted in by docker so they are not what we want
|
||||
cd /tmp/etc
|
||||
mv hosts- hosts
|
||||
mv resolv.conf- resolv.conf
|
||||
mv hostname- hostname
|
||||
|
||||
cd /tmp
|
||||
find . | cpio -H newc -o > /export/initrd.img
|
||||
|
||||
Reference in New Issue
Block a user