summaryrefslogtreecommitdiffstats
path: root/src/core/machine-id-setup.h
diff options
context:
space:
mode:
authorNils Carlson <pyssling@ludd.ltu.se>2015-07-06 00:00:59 +0200
committerNils Carlson <pyssling@ludd.ltu.se>2016-01-12 23:10:41 +0100
commitee48dbd55f544d9ee4a17497b5757be7e854c869 (patch)
treee290abed946e3c8dc1f77efeafe2aec61095265c /src/core/machine-id-setup.h
parentMerge pull request #2289 from poettering/dnssec13 (diff)
downloadsystemd-ee48dbd55f544d9ee4a17497b5757be7e854c869.tar.xz
systemd-ee48dbd55f544d9ee4a17497b5757be7e854c869.zip
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.
Diffstat (limited to 'src/core/machine-id-setup.h')
-rw-r--r--src/core/machine-id-setup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/machine-id-setup.h b/src/core/machine-id-setup.h
index f7707c3bf9..a2168a8d4a 100644
--- a/src/core/machine-id-setup.h
+++ b/src/core/machine-id-setup.h
@@ -22,4 +22,4 @@
***/
int machine_id_commit(const char *root);
-int machine_id_setup(const char *root);
+int machine_id_setup(const char *root, sd_id128_t machine_id);