mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2025-04-19 12:09:21 +00:00
generate instanceid non-deterministically
This commit is contained in:
parent
ae05183de6
commit
6e6b0e1dab
@ -8,7 +8,8 @@ CONFIGFILE=/config/config.php
|
||||
|
||||
|
||||
# Create an initial configuration file.
|
||||
instanceid=oc$(echo $PRIMARY_HOSTNAME | sha1sum | fold -w 10 | head -n 1)
|
||||
instanceid=oc$(openssl rand -hex 6 | head -c 10)
|
||||
|
||||
cat > $CONFIGFILE <<EOF;
|
||||
<?php
|
||||
\$CONFIG = array (
|
||||
|
Loading…
x
Reference in New Issue
Block a user