initial commit

This commit is contained in:
l_samenv
2022-08-18 15:04:28 +02:00
commit 46dcf8e77c
591 changed files with 69282 additions and 0 deletions

12
tcl/config/json_racklist Normal file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/tclsh
source config/rack.list
set result [list]
foreach {rack nodes} $racklist {
catch {
lassign [split [dict get $nodes _cc] :] host
lappend result "\"$rack\": \"$host\""
}
}
set sep {,
}
puts stdout "{\n [join $result $sep]\n}"