From 2ecf00d400fd79f107b08c85ab1a98fe602e8264 Mon Sep 17 00:00:00 2001 From: Jack Ivanov Date: Sun, 22 Jan 2017 23:25:31 +0300 Subject: [PATCH] Some fixes --- algo | 8 ++++---- deploy.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/algo b/algo index 9d040358..d001a6e5 100755 --- a/algo +++ b/algo @@ -51,10 +51,10 @@ Win10_Enabled=${Win10_Enabled:-n} if [[ "$Win10_Enabled" =~ ^(y|Y)$ ]]; then EXTRA_VARS+=" Win10_Enabled=Y"; fi read -p " -Do you want to delete the CA key? (if you choose 'yes', you cannot update users) -[Y/n]: " -r Delete_CAKEY -Delete_CAKEY=${Delete_CAKEY:-y} -if [[ "$Delete_CAKEY" =~ ^(y|Y)$ ]]; then EXTRA_VARS+=" Delete_CAKEY=Y"; fi +Do you want to store the CA key? (required for update-users script, but less secure) +[y/N]: " -r Store_CAKEY +Store_CAKEY=${Store_CAKEY:-N} +if [[ "$Store_CAKEY" =~ ^(n|N)$ ]]; then EXTRA_VARS+=" Store_CAKEY=N"; fi } diff --git a/deploy.yml b/deploy.yml index f396d9e7..94a6c3d1 100644 --- a/deploy.yml +++ b/deploy.yml @@ -77,4 +77,4 @@ state: absent become: no tags: always - when: Delete_CAKEY is defined and Delete_CAKEY == "Y" + when: Store_CAKEY is defined and Store_CAKEY == "N"