Implemented basic virtual disk support

This commit is contained in:
2025-06-03 16:43:48 +02:00
parent 2bf56f6963
commit f78e97aff4
8 changed files with 358 additions and 179 deletions

View File

@@ -118,7 +118,7 @@ public class ProvisionSubSystem : ServerSubSystem
var storageSubSystem = Server.GetRequiredSubSystem<StorageSubSystem>();
if (!await storageSubSystem.IsRuntimeVolumeReady())
if (!await storageSubSystem.RequestRuntimeVolume())
{
Logger.LogDebug("Unable to continue provision because the server file system isn't ready");
await consoleSubSystem.WriteMoonlight("Server file system is not ready yet. Try again later");
@@ -127,7 +127,7 @@ public class ProvisionSubSystem : ServerSubSystem
return;
}
var volumePath = await storageSubSystem.GetRuntimeHostPath();
var volumePath = storageSubSystem.RuntimeVolumePath;
// 4. Ensure the docker image is downloaded