From 101229aa04dd64d0fd3dc7b274aed42d0717bca4 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Thu, 16 Sep 2021 16:08:07 +0200 Subject: [PATCH] add a newline to /etc/machine-id as systemd does the same --- mmdebstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmdebstrap b/mmdebstrap index 3b39d43..0a1500c 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -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; } }