diff --git a/Moonlight/Features/Servers/UI/NodeComponents/NodeSetup.razor b/Moonlight/Features/Servers/UI/NodeComponents/NodeSetup.razor index 0d73499..447a9d1 100644 --- a/Moonlight/Features/Servers/UI/NodeComponents/NodeSetup.razor +++ b/Moonlight/Features/Servers/UI/NodeComponents/NodeSetup.razor @@ -1,8 +1,10 @@ @using Moonlight.Features.Servers.Entities @using MoonCore.Services @using Moonlight.Core.Configuration +@using Moonlight.Core.Services @inject ConfigService ConfigService +@inject IdentityService IdentityService
In order to setup this node, make sure you have a clean linux (tested with ubuntu 22.04) server with the capabilities to run docker. @@ -25,6 +27,15 @@ { var appUrl = ConfigService.Get().AppUrl; - return $"bash <(curl https://get-moonlight.app) --use-software daemon --use-action Install --use-channel {Channel} --use-remote-url {appUrl} --use-remote-token {Node.Token} --use-http-port {Node.HttpPort} --use-ftp-port {Node.FtpPort} --use-fqdn {Node.Fqdn} --use-ssl {Node.Ssl.ToString().ToLower()} --use-email letsencrypt@moonlightpanel.xyz"; + return $"bash <(curl https://get-moonlight.app) --use-software daemon " + + $"--use-action Install " + + $"--use-channel {Channel} " + + $"--use-remote-url {appUrl} " + + $"--use-remote-token {Node.Token} " + + $"--use-http-port {Node.HttpPort} " + + $"--use-ftp-port {Node.FtpPort} " + + $"--use-fqdn {Node.Fqdn} " + + $"--use-ssl {Node.Ssl.ToString().ToLower()} " + + $"--use-email {IdentityService.CurrentUser.Email}"; } }