Added needed bits to set 'baseDir' and source variables from 'system.conf'
This commit is contained in:
@@ -2,6 +2,12 @@
|
||||
set -euo pipefail
|
||||
|
||||
|
||||
baseDir="$(realpath "$(dirname "${0}")")"
|
||||
|
||||
source \
|
||||
"${baseDir}/system.conf"
|
||||
|
||||
|
||||
printf \
|
||||
"${hostname}\n" | tee /mnt/etc/hostname &> /dev/null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user