mirror of
https://github.com/gravitl/netmaker.git
synced 2026-04-23 00:17:10 +08:00
NM-209: allow darwin clients to use inetgw, update email templates to use logo in png format (#3860)
* NM-209: allow darwin clients to use inetgw * update email templates to use logo in png format * NM-209: fix email logo * NM-209: add spacing
This commit is contained in:
@@ -359,9 +359,6 @@ func ValidateInetGwReq(inetNode models.Node, req models.InetNodeReq, update bool
|
||||
if clientHost.IsDefault {
|
||||
return errors.New("default host cannot be set to use internet gateway")
|
||||
}
|
||||
if clientHost.OS != models.OS_Types.Linux && clientHost.OS != models.OS_Types.Windows {
|
||||
return errors.New("can only attach linux or windows machine to a internet gateway")
|
||||
}
|
||||
if clientNode.IsInternetGateway {
|
||||
return fmt.Errorf("node %s acting as internet gateway cannot use another internet gateway", clientHost.Name)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user