Fixing
This commit is contained in:
parent
1f0b9f013c
commit
d6b5d7c2ed
@ -45,6 +45,8 @@ func CreateShellAliases(data []string, username string, config config.Config) {
|
|||||||
if osFamily[1] == "ESXi" {
|
if osFamily[1] == "ESXi" {
|
||||||
sudo = ""
|
sudo = ""
|
||||||
remoteUser = "root"
|
remoteUser = "root"
|
||||||
|
} else if osFamily[1] == "Ubiquiti" {
|
||||||
|
sudo = ""
|
||||||
} else if osFamily[1] == "Windows" {
|
} else if osFamily[1] == "Windows" {
|
||||||
prerac = fmt.Sprintf("%vecho \"Password: \"; %v", redtext, resettext)
|
prerac = fmt.Sprintf("%vecho \"Password: \"; %v", redtext, resettext)
|
||||||
hop = "ssh -XCAT"
|
hop = "ssh -XCAT"
|
||||||
|
Loading…
Reference in New Issue
Block a user