Everything posted by SpaceInvaderOne
-
GUIDE *****Custom VM icons automatically downloaded and installed to unraid
reserved..
-
GUIDE *****Custom VM icons automatically downloaded and installed to unraid
Hi Guys. I have written a couple of scripts. These will download custom vm icons and gui banners from a website repo to a choosen folder on array. Then install them from there into the vm manager, by rsync to /usr/local/emhttp/plugins/dynamix.vm.manager/templates/images Before we used to add them to flash drive and copy with the go file as server started. Well now with Squids great user script plugin we can copy them after boot from the array. My plan is for us all to be able to create custom icons and share them through these scripts with other users. Please create any icons and upload them somewhere. Then post a link here in this thread and I will add them to the website repo. Hopefully us building a “community vm icons” If you would like to see what is there so far please goto Icons www.spaceinvader.one/unraidvmicons/ Banners www.spaceinvader.one/unraidbanners/ For example usage of an icon. I made this one (I know not great, but you get the idea!) Having the nvidea logo in the windows icon I know this vm is the one I have passed through my 1070, not the vnc one. There are 2 scripts that make this work. 1. Icon_banner downloader This script has 2 settings. First setting, to download all icons in category folders to a choosen location on the array. From here user copies the icons he or she likes to in that directory called store. From store script 2 syncs these icons with vm manager on array startup or manually Second setting, the script downloads all icons without category folders straight to the store folder and then rsyncs them vm manager with no user control (ie you cant pre select icons synced with this setting) This script also downloads custom banners to separate folder The script also has push notification for either pushover or pushbullet. So when new icons or banners are downloaded server will send a message telling you how many new ones have been downloaded. No message will be sent if nothing new downloaded. 2 Icon sysnc This script runs to rsync the downloaded icons which user has sorted into the store folder. This is done automatically on array start or manually. I have created a video showing how to setup and use below. I hope you guys like this idea. Scripts are also in zip attached to this post ready for user plugins. Custom VM icons automatically downloaded and installed to unraid Script 1 #!/bin/bash #downloads custom icons from online icon repository to array then copies them into vm manager. # #set below to [0 - First copies icons to category folders, so you can choose which icons to have copied to the system] #set below to [1 - direct downloads all icons without categories then copies them to your system without user choice] direct_copy_icons="0" #set location on server for download of icons if above not set to direct downloadlocation="/mnt/user/test" # # #optional push notifications set below leave all settings below if none required # # #set whether to use pushnotication on download of new icons [0- none] [1-pushover] [2-pushbullet] pushnotifications="1" #pushover api (only fill in if set above to pushover above) apitoken="token=put your pushover token here" userkey="user=put your pushover user key here" #pushbullet api (only fill in if set above to pushbullet above) API="put your push bullet api key here" #dont change anything below here *********************************************************************************** # dirtemp=$downloadlocation"/icons/temp" dirstore=$downloadlocation"/icons/store" dirbanner=$downloadlocation"/icons/banners" #set function "pushnotice" to push type if [[ "$pushnotifications" =~ ^(1|2)$ ]]; then if [ "$pushnotifications" -eq 1 ]; then function pushnotice { curl -s \ --form-string $apitoken \ --form-string $userkey \ --form-string "message=$1" \ https://api.pushover.net/1/messages.json } echo "set for pushover" elif [ "$pushnotifications" -eq 2 ]; then function pushnotice { curl -u $API: https://api.pushbullet.com/v2/pushes -d type=note -d title="unRAID vm icons" -d body="$1" } echo "set for pushbullet" fi else function pushnotice { echo "$1" } fi if [ ! -d $dirtemp ] ; then echo "Setting up first folder $dirtemp " # make the temp directory as it doesnt exist mkdir -vp $dirtemp else echo "continuing." fi #check if array if banner location exist if [ ! -d $dirbanner ] ; then echo "Setting up banner folder $dirbanner " # make the temp directory as it doesnt exist mkdir -vp $dirbanner else echo "continuing." fi #check if array if store location exist if [ ! -d $dirstore ] ; then echo "Setting up second folder $dirtemp " # make the store directory as it doesnt exist mkdir -vp $dirstore else echo "All folders needed are already created continuing." fi if [[ "$direct_copy_icons" =~ ^(0|1)$ ]]; then if [ "$direct_copy_icons" -eq 0 ]; then # set download location to temp folder for user to sort echo "information: direct_copy_icons flag is 0. Icons will be copied to array first for manual sorting." download=$dirtemp #set wget to download with folder structure for user sorting get="-r -c -S -N -nH -e robots=off -np -A png -R index.html* http://spaceinvader.one/unraidvmicons/" getbanner="-r -c -S -N -nH -e robots=off -np -A png -R index.html* http://spaceinvader.one/unraidbanners/" #set what to do at end of script end=0 elif [ "$direct_copy_icons" -eq 1 ]; then # set download location to store folder then copy to system echo "information: direct_copy_icons flag is 1.Icons will be copied directly to system without user intervention" download=$dirstore #set wget to download without folder structure as direct to system get="-r -c -S -N -nH -e robots=off -nd -np -A png -R index.html* http://spaceinvader.one/unraidvmicons/" getbanner="-r -c -S -N -nH -e robots=off -np -A png -R index.html* http://spaceinvader.one/unraidbanners/" #set what to do at end of script end=1 fi else echo "failure: direct_copy_icons is $direct_copy_icons. this is not a valid format. expecting [0 - array first] or [1 - direct to system]. exiting." exit 1 fi echo "'______'''_______''_'''''_''__''''_''___''''''_______''_______''______'''___'''__''''_''_______'"; echo "|''''''|'|'''''''||'|'_'|'||''|''|'||'''|''''|'''''''||'''_'''||''''''|'|'''|'|''|''|'||'''''''|"; echo "|''_''''||'''_'''||'||'||'||'''|_|'||'''|''''|'''_'''||''|_|''||''_''''||'''|'|'''|_|'||''''___|"; echo "|'|'|'''||''|'|''||'''''''||'''''''||'''|''''|''|'|''||'''''''||'|'|'''||'''|'|'''''''||'''|'__'"; echo "|'|_|'''||''|_|''||'''''''||''_''''||'''|___'|''|_|''||'''''''||'|_|'''||'''|'|''_''''||'''||''|"; echo "|'''''''||'''''''||'''_'''||'|'|'''||'''''''||'''''''||'''_'''||'''''''||'''|'|'|'|'''||'''|_|'|"; echo "|______|'|_______||__|'|__||_|''|__||_______||_______||__|'|__||______|'|___|'|_|''|__||_______|"; echo "'''''''''''''''''''''''''___'''_______''_______''__''''_''_______'''''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''|'''|'|'''''''||'''''''||''|''|'||'''''''|''''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''|'''|'|'''''''||'''_'''||'''|_|'||''_____|''''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''|'''|'|'''''''||''|'|''||'''''''||'|_____'''''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''|'''|'|''''''_||''|_|''||''_''''||_____''|''''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''|'''|'|'''''|_'|'''''''||'|'|'''|'_____|'|''''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''|___|'|_______||_______||_|''|__||_______|''''''''''''''''''''''''''''''"; firstcount=$(find $dirtemp -type f | wc -l) firstcount2=$(find $dirstore -type f | wc -l) bannercount=$(find $dirbanner -type f | wc -l) sleep 10 wget $get -P $download wget $getbanner -P $dirbanner sleep 3 lastcount=$(find $dirtemp -type f | wc -l) lastcount2=$(find $dirstore -type f | wc -l) bannercount2=$(find $dirbanner -type f | wc -l) totalnew=$(($lastcount - $firstcount)) totalnew2=$(($lastcount2 - $firstcount2)) bannernew=$(($bannercount2 - $bannercount)) if [[ "$direct_copy_icons" =~ ^(0|1)$ ]]; then if [ "$direct_copy_icons" -eq 0 ]; then #display message echo "'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''''''''''''''''''¶¶¶¶'''''''''''''''''''''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''''''¶´´´´¶¶'''''''''''''''''''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''''''¶´´´´´¶'''''''''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''''''''''''''''''¶´´´´¶'''''''''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''''''''''''''''''¶´´´¶''''''''''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''''''''''''''''¶¶¶¶¶¶¶¶¶¶¶¶'''''''''''''''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''''¶´´´´´´´´´´´´¶''''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''''''''''''''¶´´´´´´´´´´´´¶'''''''''''''''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''¶¶´´´¶¶¶¶¶¶¶¶¶¶¶''''''''''''''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''¶´´´´´´´´´´´´´´´¶'''''''''''''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''¶´´´´´´´´´´´´´´´¶'''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''''''''''''''¶´´´¶¶¶¶¶¶¶¶¶¶¶''''''''''''''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''''¶´´´´´´´´´´´¶'''''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''''''''''''''''¶¶¶¶¶¶¶¶¶¶¶''''''''''''''''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''"; echo "'''''''''_______''___''''''___''''''''______'''_______''__''''_''_______'''''''''"; echo "''''''''|'''_'''||'''|''''|'''|''''''|''''''|'|'''''''||''|''|'||'''''''|''''''''"; echo "''''''''|''|_|''||'''|''''|'''|''''''|''_''''||'''_'''||'''|_|'||''''___|''''''''"; echo "''''''''|'''''''||'''|''''|'''|''''''|'|'|'''||''|'|''||'''''''||'''|___'''''''''"; echo "''''''''|'''''''||'''|___'|'''|___'''|'|_|'''||''|_|''||''_''''||''''___|''''''''"; echo "''''''''|'''_'''||'''''''||'''''''|''|'''''''||'''''''||'|'|'''||'''|___'''''''''"; echo "''''''''|__|'|__||_______||_______|''|______|'|_______||_|''|__||_______|''''''''"; echo "'''''''''__''''_''_______''_'''''_''''_______''_______''______''''_______''''''''"; echo "''''''''|''|''|'||'''''''||'|'_'|'|''|'''''''||'''''''||''''_'|''|'''''''|'''''''"; echo "''''''''|'''|_|'||'''_'''||'||'||'|''|''_____||'''_'''||'''|'||''|_'''''_|'''''''"; echo "''''''''|'''''''||''|'|''||'''''''|''|'|_____'|''|'|''||'''|_||_'''|'''|'''''''''"; echo "''''''''|''_''''||''|_|''||'''''''|''|_____''||''|_|''||''''__''|''|'''|'''''''''"; echo "''''''''|'|'|'''||'''''''||'''_'''|'''_____|'||'''''''||'''|''|'|''|'''|'''''''''"; echo "''''''''|_|''|__||_______||__|'|__|''|_______||_______||___|''|_|''|___|'''''''''"; echo "'__'''__''_______''__'''__''______''''''___'''_______''_______''__''''_''_______'"; echo "|''|'|''||'''''''||''|'|''||''''_'|''''|'''|'|'''''''||'''''''||''|''|'||'''''''|"; echo "|''|_|''||'''_'''||''|'|''||'''|'||''''|'''|'|'''''''||'''_'''||'''|_|'||''_____|"; echo "|'''''''||''|'|''||''|_|''||'''|_||_'''|'''|'|'''''''||''|'|''||'''''''||'|_____'"; echo "|_'''''_||''|_|''||'''''''||''''__''|''|'''|'|''''''_||''|_|''||''_''''||_____''|"; echo "''|'''|''|'''''''||'''''''||'''|''|'|''|'''|'|'''''|_'|'''''''||'|'|'''|'_____|'|"; echo "''|___|''|_______||_______||___|''|_|''|___|'|_______||_______||_|''|__||_______|"; echo "'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''"; echo "Sort your icons located at $dirtemp and put the ones you want into $dirstore" if [ "$lastcount" -gt "$firstcount" ]; then pushnotice "$totalnew new icons downloaded to $dirtemp ready for sorting" else echo "No new icons downloaded" fi elif [ "$direct_copy_icons" -eq 1 ]; then #rysnc downloaded icons to dynamix.vm.manager/templates/images then display message rsync -a $dirstore/* /usr/local/emhttp/plugins/dynamix.vm.manager/templates/images echo "'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''''''''''''''''''¶¶¶¶'''''''''''''''''''''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''''''¶´´´´¶¶'''''''''''''''''''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''''''¶´´´´´¶'''''''''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''''''''''''''''''¶´´´´¶'''''''''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''''''''''''''''''¶´´´¶''''''''''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''''''''''''''''¶¶¶¶¶¶¶¶¶¶¶¶'''''''''''''''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''''¶´´´´´´´´´´´´¶''''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''''''''''''''¶´´´´´´´´´´´´¶'''''''''''''''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''¶¶´´´¶¶¶¶¶¶¶¶¶¶¶''''''''''''''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''¶´´´´´´´´´´´´´´´¶'''''''''''''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''¶´´´´´´´´´´´´´´´¶'''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''''''''''''''¶´´´¶¶¶¶¶¶¶¶¶¶¶''''''''''''''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''''¶´´´´´´´´´´´¶'''''''''''''''''''''''''''''''"; echo "''''''''''''''''''''''''''''''''''''''¶¶¶¶¶¶¶¶¶¶¶''''''''''''''''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''"; echo "'''''''''''_______''___''''''___''''''''______'''_______''__''''_''_______'''''''"; echo "''''''''''|'''_'''||'''|''''|'''|''''''|''''''|'|'''''''||''|''|'||'''''''|''''''"; echo "''''''''''|''|_|''||'''|''''|'''|''''''|''_''''||'''_'''||'''|_|'||''''___|''''''"; echo "''''''''''|'''''''||'''|''''|'''|''''''|'|'|'''||''|'|''||'''''''||'''|___'''''''"; echo "''''''''''|'''''''||'''|___'|'''|___'''|'|_|'''||''|_|''||''_''''||''''___|''''''"; echo "''''''''''|'''_'''||'''''''||'''''''|''|'''''''||'''''''||'|'|'''||'''|___'''''''"; echo "''''''''''|__|'|__||_______||_______|''|______|'|_______||_|''|__||_______|''''''"; echo "'''''''___'''_______''_______''__''''_''_______''''__''''_''_______''_'''''_'''''"; echo "''''''|'''|'|'''''''||'''''''||''|''|'||'''''''|''|''|''|'||'''''''||'|'_'|'|''''"; echo "''''''|'''|'|'''''''||'''_'''||'''|_|'||''_____|''|'''|_|'||'''_'''||'||'||'|''''"; echo "''''''|'''|'|'''''''||''|'|''||'''''''||'|_____'''|'''''''||''|'|''||'''''''|''''"; echo "''''''|'''|'|''''''_||''|_|''||''_''''||_____''|''|''_''''||''|_|''||'''''''|''''"; echo "''''''|'''|'|'''''|_'|'''''''||'|'|'''|'_____|'|''|'|'|'''||'''''''||'''_'''|''''"; echo "''''''|___|'|_______||_______||_|''|__||_______|''|_|''|__||_______||__|'|__|''''"; echo "'''''''''''''''''''______''''_______''_______''______'''__'''__''''''''''''''''''"; echo "''''''''''''''''''|''''_'|''|'''''''||'''_'''||''''''|'|''|'|''|'''''''''''''''''"; echo "''''''''''''''''''|'''|'||''|''''___||''|_|''||''_''''||''|_|''|'''''''''''''''''"; echo "''''''''''''''''''|'''|_||_'|'''|___'|'''''''||'|'|'''||'''''''|'''''''''''''''''"; echo "''''''''''''''''''|''''__''||''''___||'''''''||'|_|'''||_'''''_|'''''''''''''''''"; echo "''''''''''''''''''|'''|''|'||'''|___'|'''_'''||'''''''|''|'''|'''''''''''''''''''"; echo "''''''''''''''''''|___|''|_||_______||__|'|__||______|'''|___|'''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''"; echo "'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''"; echo " Icons are now ready to use and available in vm manager. " if [ "$lastcount2" -gt "$firstcount2" ]; then pushnotice "$totalnew2 new icons downloaded your vm manager" else echo "No new icons downloaded" fi fi else echo "." fi if [ "$bannercount2" -gt "$bannercount" ]; then pushnotice "$bannernew new banners downloaded to $dirbanner " else echo "No new banners downloaded" fi exit 0 script 2 #!/bin/bash # this script works with icon_banner downloader # It syncs the vm icon store on icon store folder on array with /usr/local/emhttp/plugins/dynamix.vm.manager/templates/images #set location on server for download of icons same location as icon_banner downloader else script will not work downloadlocation="/mnt/user/test" # do not change anything below this line dirstore=$downloadlocation"/icons/store" #check if above location exist if [ ! -d $dirstore ] ; then echo "$dirtemp does not exist please check you have icon_banner downloader script installed and run at least once and downloadlocation is set in this script the same " else echo "Ok evrything looks how it should. Syncing vm icon store with dynamix.vm.manager " fi rsync -a $dirstore/* /usr/local/emhttp/plugins/dynamix.vm.manager/templates/images sleep 5 exit icon_scripts.zip
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
yes have a look earlier in this thread http://lime-technology.com/forum/index.php?topic=51915.msg501612#msg501612
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
looking at your xml in the atached text file there is no osk key. Did you delete that to make this post. It will not work without the apple osk key <qemu:commandline> <qemu:arg value='-device'/> <qemu:arg value='usb-kbd'/> <qemu:arg value='-device'/> <qemu:arg value='usb-mouse'/> <qemu:arg value='-device'/> <qemu:arg value='isa-applesmc,osk=apple osk key'/> <qemu:arg value='-smbios'/> <qemu:arg value='type=2'/> <qemu:arg value='-cpu'/> <qemu:arg value='Penryn,vendor=GenuineIntel'/> </qemu:commandline> </domain>
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
So you get to the clover boot screen. You see the Boot macOS Install option to start installing? Is your cpu type set for Penryn? Also are you on 6.2
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
Hi kuhnamatata i checked and downloaded okay for me. But as you had probs I have added another link to the video as well so 2 there now https://www.dropbox.com/s/tyakzgtn6h0hdd8/smc_read.zip?dl=0 By the way the osk key is just a phrase of words, seems almost a joke and you think "no it couldnt be that!" If anyone knows of a good free place for me to put files to link to for tutorials I would appreciate it. At moment i use mega and dropbox. mega is slow and dropbox has limitations on bandwidth i think.
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
vnc is so poor for the keyboard and mouse it wouldnt be usable. I passthough a gpu myself so have not tried editing remotely. But splashtop desktop ( http://www.splashtop.com/ ) is very good the graphics is much better and mouse control (and you get sound even without sound card passed through!). In fact i guess you could passthrough a keyboard and mouse and use splashtop/vnc for the screen maybe worth a try?
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
Try changing the smbios to the iMac14,1 or iMac14,2 definition. In your earlier post you say you are using hostdev to passthrough. You could try by qemu:arg value instead as peter_sm did. Check his code on here http://lime-technology.com/forum/index.php?topic=51915.msg501064#msg501064 he is also using an nvidea card. I am not sure how to do either of these steps. This is my hostdev for my gpu, can you please tell me how the qemu command line should look in the xml and also how/where to change smbios? <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x04' slot='0x00' function='0x1'/> </source> <alias name='hostdev1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </hostdev> looking quickly at this i think you should add <qemu:arg value='-device'/> <qemu:arg value='ioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=2,chassis=1,id=root.1'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=04:00.0,bus=pcie.0,multifunction=on,x-vga=on'/> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=04:00.1,bus=pcie.0'/> beneath the line <qemu:commandline> in your xml then delete the host dev part in the xml. Also if you have copied and pasted host dev from another vm remove the second translated address part (address type='pci' domain) and the vm manager will put that in for you when you click update. So like below try your host dev again like this. <hostdev mode='subsystem' type='pci' managed='yes' xvga='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x04’ slot='0x00' function='0x0'/> </source> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x04’ slot='0x00' function='0x1'/> </source> </hostdev> note you didnt seem to have this part in your post <hostdev mode='subsystem' type='pci' managed='yes' xvga='yes'> <driver name='vfio'/> <source> (so just note when you past mine in, that bit isnt there.. Also if you delete the host dev to use other way delete that bit too. not just the part in your post.... does that make sense?) As for the changing of the smbios you do that once booted osx using the clover configurator, you must open the efi partition with the mount tool then get clover config to open the config.plist on the efi partition in the clover folder. From there you can change clover settings
-
unraid-autovmbackup: automate backup of virtual machines in unRAID - v0.4
Thanks. Excellent suggestion. I will probably use the rsync switch. Great work on this Or maybe you could export the disks using qemu-img convert -O output_format source destination
-
ControlR (Android/iOS app for unRAID)
jbrodriguez, I have changed to mainline 6.2.1-2016.09.22. I cant add my server now I saw in the thread you said this Is this why its not working with mainline?
-
Additional Scripts For User.Scripts Plugin
Send server status to phone I have made a script which sends server status to your phone or tablet using pushover or push bullet. It sends 1. Running VMs 2. Running Dockers 3. Free Array space 4. Free cache space 5. Cpu core temperatures You will need a pushover/push bullet account and will need to insert user key and a token into the script. Maybe useful for people who want to check a vm used for cctv etc is running. #!/bin/bash #set whether to use pushnotication [0- none] [1-pushover] [2-pushbullet] pushnotifications="0" #pushover api (only fill in if set above to pushover above) apitoken="token=xxxxxxxxxxxxxxxxxxxx" userkey="user=xxxxxxxxxxxxxxxxxxxx" #pushbullet api (only fill in if set above to pushbullet above) API="xxxxxxxxxxxxxxxxxxx" #dont edit below this line####################################################################### #set function "pushnotice" to push type if [[ "$pushnotifications" =~ ^(1|2)$ ]]; then if [ "$pushnotifications" -eq 1 ]; then function pushnotice { curl -s \ --form-string $apitoken \ --form-string $userkey \ --form-string "message=$1" \ https://api.pushover.net/1/messages.json } echo "set for pushover" elif [ "$pushnotifications" -eq 2 ]; then function pushnotice { curl -u $API: https://api.pushbullet.com/v2/pushes -d type=note -d title="unRAID status" -d body="$1" } echo "set for pushbullet" fi else function pushnotice { echo "$1" } fi vmsrunning=$(virsh list | awk '$1 == "-" || $1+0 > 0 { print $2 }') docsrunning=$(docker ps | awk '{ print $2}') temp=$(sensors | awk '{ print $1,$2,$3}') hdspacefree=$(df -h /mnt/user/ ~ | awk 'NR==2 {print $4}') cachespacefree=$(df -h /mnt/cache/ ~ | awk 'NR==2 {print $4}') #!send server status message pushnotice "These VMs are running $vmsrunning These Dockers are running $docsrunning Array space left $hdspacefree Cache space left $cachespacefree temperatures $temp " sleep 10 exit Hopefully useful Server_info_push.zip
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
Try changing the smbios to the iMac14,1 or iMac14,2 definition. In your earlier post you say you are using hostdev to passthrough. You could try by qemu:arg value instead as peter_sm did. Check his code on here http://lime-technology.com/forum/index.php?topic=51915.msg501064#msg501064 he is also using an nvidea card.
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
Yes i have known this to happen to me before. The fix is really easy. It is not to do with seabios or clover. What causes it is sometimes the e1000 network driver built into OSX (AppleIntel8254XEthernet.kext) fails to detect network link. This is basically because of what pci slot the “card” is in. The problem is invoking the e1000 hardware interrupt handler before setup is complete and then it fails to detect network. So the network must be on a custom pci slot and it gets around this problem. I guess that your xml code for the network looks a bit like this now <interface type='bridge'> <mac address='52:54:00:51:66:48'/> <source bridge='br0'/> <model type='e1000-82545em'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/> </interface> note this line address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0' This is wrong for us. The system will try and put it on here as the default settings. Matbe you deleted the address line and it put this in for you? We need it to be <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/> So just change your address line and all will be good. so like below <interface type='bridge'> <mac address='52:54:00:51:66:48'/> <source bridge='br0'/> <model type='e1000-82545em'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/> </interface> As regards sierra on seabios. Yes and no. I found i couldnt see the install iso on clean install and couldnt see "Boot macOS Install" option if going upgrade with seabios. However after its installed by clover ovmf you can switch to seabios and it will boot I was messing with it today and not really tested it but first impressions it seems very good. speed is normal speed. Sound is good (i am using no soundcard h or gpu, using remote desktop with splashtop) I will test more later. I was using enoch2839 for bootloader.
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
Ha ok no problem. i have got one done just need to edit it and ill put it up
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
Yes Peter thats exactly right and works well. I tried un upgrade last week and this was the only way it would work. I tried booting from seabios to do an upgrade but that way didnt work. It never saw the macOS Install in seabios boot menu on reboot. Guys be sure to pay attention to step 6 in Peters post above, as it is easy to miss this and clover automatically boot into the osx drive itself (5 second countdown) and be back in el capitan. This happened to me and i thought it had failed! If this happens you can just reboot the vm and then choose macOS Install second time around. Also as Peter says its best to install patched clover first as is based off latest clover. Some earlier clovers (not sure from which version) will not see the macOS Install in clover boot menu.
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
Great glad you got it working Yes the reason this is at 800 x 600 is because if you change the resolution in the vm (clover) it doesnt match the ovmf settings and you get the prob you describe.This isnt a problem with gpu passed through. So for vnc this is what you must do. 1 start vm normally. Change the resolution of clover with clover configurator or edit the config.plist file ( eg 1920 x 1080) 2. reboot the vm but stop on the clover boot loader 3. choose restart on clover screen 4. As it restarts press delete (if using a mac connect a usb keyboard as mac backspace will not work) 5. now you will be in config screen 6. change resolution here to match what you did in step 1. 7. save settings and restart and boot to osx now you will have resolution you want.
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
Yes it should be possible. Attach the harddrive to your server as an unassigned disk. Then use my guide (second video) to create an ovmf xml template but instead of attaching the vdisk as primary drive like below <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/virtual systems/mac os sierra/vdisk1.img'/> <target dev='hda' bus='sata'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> change it to this <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source dev='/dev/disk/by-id/ata-ST31000528AS_6VP41EPS'/> <target dev='hda' bus='sata'/> </disk> This will pass through the whole disk here named ata-ST31000528AS_6VP41EPS (find out the disk id of your disk and put that in there) Then booting the vm should just boot straight off the drive. I have done similar before off a usb harddrive connected to unraid. After its booted use open the efi partition then delete the efi folder and replace it with the one in the video (see the guide). That will have the right clover files for unraid. Let me know how you get on
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
I am also passing through my gpu (6450) and a keyboard and mouse using host dev. my code below <hostdev mode='subsystem' type='pci' managed='yes' xvga='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x03' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x046d'/> <product id='0xc52b'/> </source> </hostdev>
-
ControlR (Android/iOS app for unRAID)
for some reason i cant open my server on app any more. it is added and reports disk info etc. but when i press on server nothing happens. i have this issue with my xperia z2 phone and xperia z3 tablet. Any ideas?
-
Performance Improvements in VMs by adjusting CPU pinning and assignment
if you are using the ssd exclusively for the vm, i should passthrough the disk then install the os directly to the disk rather than use a vdisk I am also trying to get the best performance I can from a Win10 gaming VM on an SSD, accessed using Unassigned Devices. Currently I am using a vdisk but if the performance gains are significant then I would pass through the entire SSD. Are the gains significant? And what is the best practice for passing through the entire disk? yes i put all my games on a passed through disk(d) but have the os drive © on vdisk. <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source dev='/dev/disk/by-id/ata-ST31000528AS_6VP41EPS'/> <target dev='hdd' bus='virtio'/> </disk> you can adjust the above code for your needs. ata-ST31000528AS_6VP41EPS is my disks id. You will need to put in yours here
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
Yes just done a guide to do a fresh install of Sierra on unRAID. Hope you find it useful.
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
Great thanks glad you like them. Ive put the files in the youtube description now. Sorry bit tired today and forgot !!! I have just put up a video for installing a fresh copy mac OS Sierra in ovmf and clover as well if you interested. many more unraid vids coming which will be released every friday.
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
Yeah thats what i like to be able to have the sound on mac like rdp on pc
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
using the webvnc the cursor will always be out of sync unfortunately. With tight vnc make sure the screen sharing is enabled. I dont use either. I use splashtop desktop http://www.splashtop.com/ the free version works within your own network. It works very well and works with mac, win, and linux.
-
**VIDEO GUIDE** How to Install MacOS Mojave or High Sierra as a VM
Great glad its all working for you