Skip to content

Commit 1eb0622

Browse files
committed
fix: issue with lxc not saving machine-id
1 parent d4bd07f commit 1eb0622

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎system/cuos/init.sh‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ prepare_data_volume() {
122122
rm -f /data/machine-id
123123
systemd-machine-id-setup --commit
124124
fi
125+
systemd-machine-id-setup
125126
mkdir -p /data/{docker,containerd,dhcp,log,shieldor,.docker}
126127
mkdir -p /data/log/journal
127128
chattr -R +C /data/log/journal

0 commit comments

Comments
 (0)