Merge pull request #149493 from alyssais/vmtools-fd

vmTools.runInLinuxVM: create fd symlinks in /dev
This commit is contained in:
Robert Hensing 2021-12-11 17:44:19 +01:00 committed by GitHub
commit 02b8cdef4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,6 +90,10 @@ rec {
done
mount -t devtmpfs devtmpfs /dev
ln -s /proc/self/fd /dev/fd
ln -s /proc/self/fd/0 /dev/stdin
ln -s /proc/self/fd/1 /dev/stdout
ln -s /proc/self/fd/2 /dev/stderr
ifconfig lo up