问题1:ifconfig检测不到ens33 (ifconfig -a能看到ens33)
问题2:/mnt/hgfs 看不到共享文件夹 (vmware-hgfsclient 能看到共享的文件夹)
lynn@lynn-virtual-machine:~$ cat /etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/sbin/dhclient #dhcp自动获取动态ip
mount -t fuse.vmhgfs-fuse .host:/ /mnt/hgfs -o allow_other # 挂载共享文件夹exit 0