mirror of
https://github.com/trailofbits/algo.git
synced 2025-09-04 19:13:04 +02:00
Some fixes
This commit is contained in:
parent
a4113c9e88
commit
2ecf00d400
2 changed files with 5 additions and 5 deletions
8
algo
8
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
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue