Add type, add a few more switches
This commit is contained in:
@ -254,7 +254,7 @@ func main() {
|
||||
totalCount := len(config.Devices)
|
||||
|
||||
for hostname, deviceConfig := range config.Devices {
|
||||
fmt.Printf("\nProcessing device: %s\n", hostname)
|
||||
fmt.Printf("\nProcessing device: %s (type: %s)\n", hostname, deviceConfig.Type)
|
||||
|
||||
user := deviceConfig.User
|
||||
commands := deviceConfig.Commands
|
||||
|
Reference in New Issue
Block a user