Update install
This commit is contained in:
parent
9d6a488b12
commit
d86a0b8969
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
|
||||||
|
|
||||||
# If there is a keyfile for a data disk, put copy it to the root partition and
|
# If there is a keyfile for a data disk, put copy it to the root partition and
|
||||||
# ensure the permissions are set appropriately.
|
# ensure the permissions are set appropriately.
|
||||||
if [[ -f "/tmp/swap.key" ]]; then
|
if [[ -f "/mnt-root/etc/swap.key" ]]; then
|
||||||
sudo cp /mnt-root/etc/swap.key /mnt/etc/swap.key
|
sudo cp /mnt-root/etc/swap.key /mnt/etc/swap.key
|
||||||
sudo chmod 0400 /mnt/etc/swap.key
|
sudo chmod 0400 /mnt/etc/swap.key
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue