-
supergregg started following [6.9.2] VM "form view" changed .img-type to raw from qcow2.
-
[6.9.2] VM "form view" changed .img-type to raw from qcow2.
Hi. So decided to move one of my VMs to cache: Powered down VM. Moved the .img to cache drive. Went in to Update VM with new settings, in "form view" and just clicked my way to the new location. Hit Update and Started the VM. The VM did not boot, just got stuck in UEFI prompt. Could not get it to boot. Switched back to old VM image, also did not boot. Panic began to set in as this is my main Firewall, pfSense. Created new VM, pointed to image and the new VM booted. Wtf yo! Checked the XMLview for differences and found that for some unknown reason, the img type was set to "raw" instead of "qcow2"... Now I have limited knowledge and time to fully test this, I am a linux n00b and mostly rely on nice GUI's, but as there is no way to set "type" in "form view" my guess is that something is changing this automatically behind the scenes and messed up my config. The VM was working fine across several reboots of Unraid so it can't have happened all by itself?
-
Best practice scripting on UNRAID? Language?
@itimpi Thanks for the reply. I happen to know a bit of PHP so the PowerShell script wont be to hard to convert. I will try this! Thanks!
-
supergregg started following Best practice scripting on UNRAID? Language?
-
Best practice scripting on UNRAID? Language?
Hi. I'm a bit new to the linux scene, coming from a very microsoft based workplace. I have been running unraid for a couple of months now and I'm slowly moving away from my Windows VM to docker containers. Right now I'm stuck at replacing a PowerShell script. The script checks for a JSON auth-token, runs a couple of Rest-API queries, re formats results and Inserts them into a MariaDB database, close and repeat every 5 min. So the question is, and I'm thinking this might be a hot debate, but what would be the best approach to converting this to running natively on UNRAID in some form? BASH? Python? Installing PowerShell? User Script Plugin? How do I make it run every 5 min? Thanks in advance!
supergregg
Members
-
Joined