From 0f53cabb6dbefd6331721912cf15180cc88c39c4 Mon Sep 17 00:00:00 2001 From: Andrey Prokopenko <9478806+andrey42@users.noreply.github.com> Date: Sat, 14 Mar 2020 14:49:18 +0100 Subject: [PATCH] removed ssh key check --- virtualbox-debian10-zfs-setup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/virtualbox-debian10-zfs-setup.sh b/virtualbox-debian10-zfs-setup.sh index 49925c4..59e6946 100644 --- a/virtualbox-debian10-zfs-setup.sh +++ b/virtualbox-debian10-zfs-setup.sh @@ -123,10 +123,10 @@ function check_prerequisites { echo 'This script must be run with administrative privileges!' exit 1 fi - if [[ ! -r /root/.ssh/authorized_keys ]]; then - echo "SSH pubkey file is absent, please add it to the rescue system setting, then reboot into rescue system and run the script" - exit 1 - fi +# if [[ ! -r /root/.ssh/authorized_keys ]]; then +# echo "SSH pubkey file is absent, please add it to the rescue system setting, then reboot into rescue system and run the script" +# exit 1 +# fi if ! dpkg-query --showformat="\${Status}" -W dialog 2> /dev/null | grep -q "install ok installed"; then apt install --yes dialog fi