You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This script could be used for spawning several VMs in parallel, which would result in errors in case the disk is not set by the user.
Here, I'd recommend a few things:
Instead of kata.qcow2, use kata-$d.qcow2 by default, as this would already allow users to have different distros running in parallel;
Check whether $disk already exists in the system, just to avoid overwriting something without advertising the user;
Note, I thought about trying a pseudo smart approach of naming the image kata-$d, checking for the existence, and creating a kata-$d-nn instead. However, I sincerely think it's over-engineering the problem at this point and I'd be way happier with only 1 and 2 being implemented.
The text was updated successfully, but these errors were encountered:
This script could be used for spawning several VMs in parallel, which would result in errors in case the disk is not set by the user.
Here, I'd recommend a few things:
kata.qcow2
, usekata-$d
.qcow2 by default, as this would already allow users to have different distros running in parallel;$disk
already exists in the system, just to avoid overwriting something without advertising the user;Note, I thought about trying a pseudo smart approach of naming the image
kata-$d
, checking for the existence, and creating akata-$d-nn
instead. However, I sincerely think it's over-engineering the problem at this point and I'd be way happier with only 1 and 2 being implemented.The text was updated successfully, but these errors were encountered: