Changeset 83114 in vbox for trunk/src/VBox/ValidationKit/testboxscript/darwin
- Timestamp:
- Feb 19, 2020 11:51:42 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 136192
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testboxscript/darwin/setup-routines.sh
r82968 r83114 138 138 Additional things to do:" 139 139 1. Change the 'Energy Saver' options to never turn off the computer: 140 $ systemsetup -setcomputersleep Never -setdisplaysleep 5 -setharddisksleep 15140 $ systemsetup -setcomputersleep Never -setdisplaysleep 5 -setharddisksleep 15 141 141 2. Check 'Restart automatically if the computer freezes' if available in 142 142 the 'Energy Saver' settings. 143 $ systemsetup -setrestartfreeze on143 $ systemsetup -setrestartfreeze on 144 144 3. In the 'Sharing' panel enable (VBox/Oracle): 145 145 a) 'Remote Login' so ssh works. 146 $ systemsetup -setremotelogin on146 $ systemsetup -setremotelogin on 147 147 b) 'Remote Management, tick all the checkboxes in the sheet dialog. 148 148 Open the 'Computer Settings' and check 'Show Remote Management … … 158 158 5. Configure NTP to the nearest local time source. For VBox/Oracle this 159 159 means wei01-time.de.oracle.com: 160 $ systemsetup -setnetworktimeserver wei01-time.de.oracle.com160 $ systemsetup -setnetworktimeserver wei01-time.de.oracle.com 161 161 6. Configure the vbox (pw:password) account for automatic login. 162 7. Configure the kernel to keep symbols: 163 $ sudo nvram boot-args="keepsyms=1" 162 7. For configure the kernel to keep symbols you might need to: 163 a) For 10.11 (El Capitan) and later boot to the recovery partition and 164 either enabling loading of unsigned kexts: 165 $ csrutil enable --without kext 166 or disable SIP all together: 167 $ csrutil disable 168 b) For 10.15 (Catalina) and later you also need to disable 169 the reboot requirement (also from recovery partition): 170 $ spctl kext-consent disable 171 c) If you are running 10.10 (Yosemite) there is a boot-args option for 172 allowing the loading of unsigned kexts. Run the following and reboot: 173 $ sudo nvram boot-args="kext-dev-mode=1" 174 And then run the following: 175 $ sudo nvram boot-args="keepsyms=1" 164 176 165 177 Enjoy! 166 178 EOF 167 179 } 168 180 ß
Note:
See TracChangeset
for help on using the changeset viewer.