revert to static machine id for now
This commit is contained in:
parent
be4efca9a5
commit
18c8e76850
1 changed files with 2 additions and 10 deletions
|
@ -40,16 +40,8 @@ ln -sf ../systemd-timesyncd.service rootfs/usr/lib/systemd/system/multi-user.tar
|
|||
# enable default network config
|
||||
mv rootfs/usr/lib/systemd/network/89-ethernet.network.example rootfs/usr/lib/systemd/network/89-ethernet.network
|
||||
|
||||
# FIXME: remove this! machine id should be setup by a confext instead?
|
||||
mkdir rootfs/usr/lib/systemd/system/systemd-machine-id-commit.service.d
|
||||
cat <<EOF > rootfs/usr/lib/systemd/system/systemd-machine-id-commit.service.d/override.conf
|
||||
[Unit]
|
||||
After=local-fs.target sysroot-etc.mount
|
||||
ConditionPathIsMountPoint=
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=systemd-machine-id-setup
|
||||
EOF
|
||||
#FIXME: generate a temporary machine id (replace with overlay/confext later?)
|
||||
$systemd/usr/bin/systemd-machine-id-setup --root=rootfs/
|
||||
|
||||
# install sys users
|
||||
mkdir creds
|
||||
|
|
Loading…
Add table
Reference in a new issue