add a newline to /etc/machine-id as systemd does the same

This commit is contained in:
Johannes Schauer Marin Rodrigues 2021-09-16 16:08:07 +02:00
parent 5b0bb46421
commit 101229aa04
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -3162,7 +3162,7 @@ sub run_cleanup() {
or error "cannot unlink /etc/machine-id: $!";
open my $fh, '>', "$options->{root}/etc/machine-id"
or error "failed to open(): $!";
print $fh "uninitialized";
print $fh "uninitialized\n";
close $fh;
}
}