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