13 lines
175 B
Bash
Executable File
13 lines
175 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
baseDir="$(realpath "$(dirname "${0}")/../")"
|
|
|
|
source \
|
|
"${baseDir}/system.conf"
|
|
|
|
|
|
cp \
|
|
/etc/zfs/keys/${hostname,,}.key \
|
|
/mnt/etc/zfs/keys/
|