-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmount_first_VM.bat
More file actions
25 lines (19 loc) · 826 Bytes
/
mount_first_VM.bat
File metadata and controls
25 lines (19 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
:: starts VM then mounts share on VM
::cd "c:\Program Files\Oracle\VirtualBox"
:: command implicitly waits for vm to load
::vboxmanage.exe startvm "Centos67imldev" --type headless
echo "re-mounting chroma share
umount g:
choice /c yn /t 8 /d y >NUL
::mount -u:tanabarr -p:"Chanch0306!" \\192.168.56.102\home\share g:
mount -o fileaccess=644 \\192.168.56.101\home\share g:
choice /c yn /t 4 /d y >NUL
:: now we have mount loaded, pycharm should also load project chroma
::start "" "C:\Program Files (x86)\JetBrains\PyCharm 4.5.4\bin\pycharm.exe"
::choice /c yn /t 2 /d y >NUL
:: open terminal to vm
::start "" "C:\win scripts\first VM.bat"
::choice /c yn /t 2 /d y >NUL
exit
::unrelated and should really be somewhere else! change UAC
::c:\Windows\System32\UserAccountControlSettings.exe