slight modification of jot, without 'del'
This commit is contained in:
parent
90074477f2
commit
7d99d4fe4f
|
@ -112,7 +112,7 @@ generate_passwd() {
|
||||||
# Generate a random password for the install-<MAC>.conf file.
|
# Generate a random password for the install-<MAC>.conf file.
|
||||||
# Doesn't take variables
|
# Doesn't take variables
|
||||||
#tr -cd '[:alnum:]' < /dev/urandom | fold -w 20 | head -n 1
|
#tr -cd '[:alnum:]' < /dev/urandom | fold -w 20 | head -n 1
|
||||||
jot -rc -s '' 20 33 127
|
jot -rcs '' 20 33 126
|
||||||
}
|
}
|
||||||
|
|
||||||
check_instance() {
|
check_instance() {
|
||||||
|
|
Loading…
Reference in New Issue