12 lines
175 B
Bash
Executable File
12 lines
175 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eux
|
|
|
|
MACHINE_ID="${LXC_ROOTFS_PATH}/etc/machine-id"
|
|
|
|
if [ -f "$MACHINE_ID" ]; then
|
|
rm "$MACHINE_ID"
|
|
fi
|
|
|
|
systemd-machine-id-setup --root="$LXC_ROOTFS_PATH"
|