mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
FIRST_BOOT
This commit is contained in:
parent
940539f6f5
commit
c7b9aada41
@ -46,7 +46,7 @@ rw
|
|||||||
|
|
||||||
# ========== First boot configuration ==========
|
# ========== First boot configuration ==========
|
||||||
|
|
||||||
if [ -n "$FIRSTBOOT" ]; then
|
if [ -n "$FIRSTBOOT$FIRST_BOOT" ]; then
|
||||||
( \
|
( \
|
||||||
(umount /etc/machine-id || true) \
|
(umount /etc/machine-id || true) \
|
||||||
&& echo -n > /etc/machine-id \
|
&& echo -n > /etc/machine-id \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user