mirror of
https://github.com/woodchen-ink/docker-firefox.git
synced 2025-07-18 13:52:02 +08:00
Generate the machine-id once.
This commit is contained in:
parent
a50bede41a
commit
6ad8966224
@ -9,9 +9,9 @@ mkdir -p /config/log/firefox
|
||||
mkdir -p /config/profile
|
||||
|
||||
# Generate machine id.
|
||||
if [ ! -f /etc/machine-id ]; then
|
||||
if [ ! -f /config/machine-id ]; then
|
||||
echo "generating machine-id..."
|
||||
cat /proc/sys/kernel/random/uuid | tr -d '-' > /etc/machine-id
|
||||
cat /proc/sys/kernel/random/uuid | tr -d '-' > /config/machine-id
|
||||
fi
|
||||
|
||||
# Copy default preferences.
|
||||
|
1
rootfs/etc/machine-id
Symbolic link
1
rootfs/etc/machine-id
Symbolic link
@ -0,0 +1 @@
|
||||
/config/machine-id
|
Loading…
x
Reference in New Issue
Block a user