misc: Fix typos and spelling errors
This commit is contained in:
@@ -40,7 +40,7 @@ timezone {{ .timezone }} --isUtc
|
||||
# security
|
||||
#
|
||||
{{ if .password -}}
|
||||
# password can be crypted with:
|
||||
# password can be encrypted with:
|
||||
# python3 -c 'import crypt; print(crypt.crypt("password", crypt.mksalt(crypt.METHOD_SHA512)))'
|
||||
# or
|
||||
# openssl passwd -6 -salt <YOUR_SALT> (salt can be omitted to generate one)
|
||||
|
||||
@@ -562,7 +562,7 @@ class base:host($name, $config) {
|
||||
#} else {
|
||||
# "" + get_value("network") # XXX: implement some sort of lookup function
|
||||
#}
|
||||
#$ip = $config->ip || magic.pool($ns, [1,2,3,4], $name) # XXX: if $ns is "", then don't allocate. Otherwise get from list. Re-use based on $name hash.
|
||||
#$ip = $config->ip || magic.pool($ns, [1,2,3,4], $name) # XXX: if $ns is "", then don't allocate. Otherwise get from list. Reuse based on $name hash.
|
||||
$bios = $config->bios || false
|
||||
$password = $config->password || "" # empty means disabled
|
||||
panic(len($password) != 0 and len($password) != 106) # length of salted password
|
||||
|
||||
Reference in New Issue
Block a user