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