Skip to content

Commit

Permalink
Set up machine-id using /etc/machine-id
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 committed Sep 6, 2018
1 parent 34235a2 commit 7fd42fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export LC_ALL=C
# Generate a machine ID
if [ -n "$(which dbus-uuidgen)" ]
then
dbus-uuidgen > /var/lib/dbus/machine-id
dbus-uuidgen > /etc/machine-id
ln -sf /etc/machine-id /var/lib/dbus/machine-id
fi

if [ ! -f /run/resolvconf/resolv.conf ]
Expand Down

0 comments on commit 7fd42fd

Please sign in to comment.