Ejemplo n.º 1
0
 /// <summary>
 /// Setup a release. If it can't be found, error will be thrown
 /// </summary>
 /// <param name="connection"></param>
 /// <param name="releaseName">Full release name (e.g. 'Base,2.3.30')</param>
 /// <param name="linuxLocation">Directory where the linux location can be found</param>
 /// <param name="dumpOnly">Dump commands to standard logging, but do not execute anything</param>
 /// <returns></returns>
 public static ISSHConnection SetupRcRelease(this ISSHConnection connection, string linuxLocation, string releaseName, bool dumpOnly = false)
 {
     return(connection.SetupRcReleaseAsync(linuxLocation, releaseName, dumpOnly)
            .WaitAndUnwrapException());
 }