Added base models for servers. Added ws packet connection utility. Added some ui from old branch. Added some packeges. And more smaller things
This commit is contained in:
@@ -60,4 +60,15 @@ public static class ServerExtensions
|
||||
|
||||
return serverConfiguration;
|
||||
}
|
||||
|
||||
public static ServerInstallConfiguration ToServerInstallConfiguration(this Server server)
|
||||
{
|
||||
var installConfiguration = new ServerInstallConfiguration();
|
||||
|
||||
installConfiguration.DockerImage = server.Image.InstallDockerImage;
|
||||
installConfiguration.Script = server.Image.InstallScript;
|
||||
installConfiguration.Shell = server.Image.InstallShell;
|
||||
|
||||
return installConfiguration;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user