1-get-initial-setup-working #2
3
setup.sh
3
setup.sh
@ -107,7 +107,8 @@ function zpool_drive_id () {
|
||||
}
|
||||
|
||||
function set_zpool_password () {
|
||||
printf -- '%s\n' 'password' > '/etc/zfs/'"${zpool_name}"'.key'
|
||||
# No newline at the end
|
||||
printf -- '%s' 'password' > '/etc/zfs/'"${zpool_name}"'.key'
|
||||
chmod '000' '/etc/zfs/'"${zpool_name}"'.key'
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user