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:
Justin Cormack
2015-12-07 15:43:39 +00:00
parent 8dd1a88dec
commit 050ee55ffa
5 changed files with 19 additions and 2 deletions

View File

@@ -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