Displaying 3 results from an estimated 3 matches for "28054ab".
2016 Mar 29
0
Re: [PATCH] appliance: Copy /etc/machine-id from host system into the appliance.
...e-id doesn't really matter for a
> throwaway appliance so long as it has the right format, this commit
> copies the host file into the appliance.
> ---
I had a prototype since some months of the solution about generating it
in /init:
diff --git a/appliance/init b/appliance/init
index 28054ab..20c8d24 100755
--- a/appliance/init
+++ b/appliance/init
@@ -85,6 +85,9 @@ fi
mkdir -p /run/tmpfiles.d
kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf
+# Create a machine-id with a random UUID
+dd if=/dev/urandom bs=1 count=16 status=none | od -x -A n | sed -e 's, ,,...
2016 Mar 29
4
[PATCH] appliance: Copy /etc/machine-id from host system into the appliance.
Currently when the appliance is booted we see warning messages like
these ones:
[/usr/lib/tmpfiles.d/systemd.conf:26] Failed to replace specifiers: /run/log/journal/%m
[/usr/lib/tmpfiles.d/systemd.conf:28] Failed to replace specifiers: /run/log/journal/%m
[/usr/lib/tmpfiles.d/systemd.conf:29] Failed to replace specifiers: /run/log/journal/%m
They are apparently harmless, but are caused because
2016 Mar 23
7
[PATCH v4 0/6] tests/qemu: Add program for tracing and analyzing boot times.
v4:
- Lots more analysis of the /init script and other parts.
- Display a list of the longest to shortest activities.
- Rebase on top of current head.
Rich.