mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-08 08:49:17 +00:00
update password generation
This commit is contained in:
parent
3d07523979
commit
888f229914
@ -37,7 +37,7 @@ $STD dpkg -i semaphore_${RELEASE}_linux_amd64.deb
|
|||||||
SEM_HASH=$(openssl rand -base64 32)
|
SEM_HASH=$(openssl rand -base64 32)
|
||||||
SEM_ENCRYPTION=$(openssl rand -base64 32)
|
SEM_ENCRYPTION=$(openssl rand -base64 32)
|
||||||
SEM_KEY=$(openssl rand -base64 32)
|
SEM_KEY=$(openssl rand -base64 32)
|
||||||
SEM_PW=$(openssl rand -base64 8)
|
SEM_PW=$(openssl rand -base64 12)
|
||||||
cat <<EOF >/opt/semaphore/config.json
|
cat <<EOF >/opt/semaphore/config.json
|
||||||
{
|
{
|
||||||
"bolt": {
|
"bolt": {
|
||||||
@ -51,7 +51,7 @@ cat <<EOF >/opt/semaphore/config.json
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
$STD semaphore user add --admin --login admin --email admin@helper-scripts.com --name Administrator --password ${SEM_PW} --config /opt/semaphore/config.json
|
$STD semaphore user add --admin --login admin --email admin@helper-scripts.com --name Administrator --password ${SEM_PW} --config /opt/semaphore/config.json
|
||||||
echo "${SEM_PW}" >~./semaphore.creds
|
echo "${SEM_PW}" >~/semaphore.creds
|
||||||
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
|
echo "${RELEASE}" >"/opt/${APPLICATION}_version.txt"
|
||||||
msg_ok "Setup Semaphore"
|
msg_ok "Setup Semaphore"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user