From ee48dbd55f544d9ee4a17497b5757be7e854c869 Mon Sep 17 00:00:00 2001 From: Nils Carlson Date: Mon, 6 Jul 2015 00:00:59 +0200 Subject: core: Add machine-id setting Allow for overriding all other machine-ids which may be present on the system using a kernel command line systemd.machine_id or --machine-id= option. This is especially useful for network booted systems where the machine-id needs to be static, or for containers where a specific machine-id is wanted. --- src/machine-id-setup/machine-id-setup-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/machine-id-setup') diff --git a/src/machine-id-setup/machine-id-setup-main.c b/src/machine-id-setup/machine-id-setup-main.c index d805bcfdca..9d19307236 100644 --- a/src/machine-id-setup/machine-id-setup-main.c +++ b/src/machine-id-setup/machine-id-setup-main.c @@ -112,7 +112,7 @@ int main(int argc, char *argv[]) { if (arg_commit) r = machine_id_commit(arg_root); else - r = machine_id_setup(arg_root); + r = machine_id_setup(arg_root, SD_ID128_NULL); finish: free(arg_root); -- cgit v1.2.3-54-g00ecf