dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 8f5a4c0f3a817de3966db3895403fb89ea2be0a6
parent 8569ca34a091ce5761fdc08cda9d9c78a108bd52
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 16 May 2018 14:04:47 -0400

Add instructions on how to restart the vmware dhcp service

Diffstat:
Mlinks/bin/alpine-headless | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/links/bin/alpine-headless b/links/bin/alpine-headless @@ -3,7 +3,7 @@ vmpath="$HOME/VMware Fusion VMs/alpine-virt.vmwarevm/alpine-virt.vmx" #ip=172.16.106.42 sshfsmount=~/alpine -cmd="tmux" +cmd="hostname && pwd" if [[ "$1" = "-h" ]]; then echo "usage: $0 [start|suspend|stop|status|copysshkey|notmux]" @@ -46,7 +46,10 @@ else # hardware ethernet 00:0C:29:B6:22:3E; # fixed-address 192.168.167.80; # } - ip=192.168.167.81 + # 3. Afterwards, restart vmnet DHCP with + # sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --stop + # sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --start + ip=192.168.44.100 #ip=$(vmrun getGuestIPAddress "$vmpath") echo "IP of VM: $ip"