mirror of
https://github.com/trailofbits/algo.git
synced 2025-09-07 04:24:08 +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
|
if [[ "$Win10_Enabled" =~ ^(y|Y)$ ]]; then EXTRA_VARS+=" Win10_Enabled=Y"; fi
|
||||||
|
|
||||||
read -p "
|
read -p "
|
||||||
Do you want to delete the CA key? (if you choose 'yes', you cannot update users)
|
Do you want to store the CA key? (required for update-users script, but less secure)
|
||||||
[Y/n]: " -r Delete_CAKEY
|
[y/N]: " -r Store_CAKEY
|
||||||
Delete_CAKEY=${Delete_CAKEY:-y}
|
Store_CAKEY=${Store_CAKEY:-N}
|
||||||
if [[ "$Delete_CAKEY" =~ ^(y|Y)$ ]]; then EXTRA_VARS+=" Delete_CAKEY=Y"; fi
|
if [[ "$Store_CAKEY" =~ ^(n|N)$ ]]; then EXTRA_VARS+=" Store_CAKEY=N"; fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -77,4 +77,4 @@
|
||||||
state: absent
|
state: absent
|
||||||
become: no
|
become: no
|
||||||
tags: always
|
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