Browse Source

changes to merge

Toastie 1 year ago
parent
commit
2a745dc84e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      prepare_luks.sh

+ 2 - 1
prepare_luks.sh

@@ -1,6 +1,7 @@
 #!/bin/bash
 
 # Overwrite default variables from config file
+cd /installer
 [ -f ./config.sh ] && source config.sh
 
 
@@ -18,4 +19,4 @@ mkdir -p /srv/data
 cryptsetup luksFormat $disk2
 cryptsetup luksOpen $disk2 data
 mkfs.ext4 /dev/mapper/data
-mount /dev/mapper/data /srv/data
+mount /dev/mapper/data /srv/data