summaryrefslogtreecommitdiff
path: root/src/machine/org.freedesktop.machine1.conf
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-11-14 23:27:14 +0100
committerLennart Poettering <lennart@poettering.net>2017-11-20 16:43:15 +0100
commitcf30a8c1ed2de720dee935d552011aa9ba596d31 (patch)
treee3ceb56134511501de55b7c0d076fb21db5a4977 /src/machine/org.freedesktop.machine1.conf
parentc7664c071ec935f67fed7aceebc296513d17ea15 (diff)
downloadsystemd-cf30a8c1ed2de720dee935d552011aa9ba596d31.tar.gz
machined: port machined's bus APIs to use new image metadata API
Let's rework the D-Bus APIs GetImageOSRelease() to use the new internal metadata API, to query what it needs to know. Augment it with GetImageHostname(), GetImageMachineID(), GetImageMachineInfo(), that expose the other new APIS.
Diffstat (limited to 'src/machine/org.freedesktop.machine1.conf')
-rw-r--r--src/machine/org.freedesktop.machine1.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/machine/org.freedesktop.machine1.conf b/src/machine/org.freedesktop.machine1.conf
index daa365a9dd..73b7e07103 100644
--- a/src/machine/org.freedesktop.machine1.conf
+++ b/src/machine/org.freedesktop.machine1.conf
@@ -122,6 +122,18 @@
<allow send_destination="org.freedesktop.machine1"
send_interface="org.freedesktop.machine1.Manager"
+ send_member="GetImageHostname"/>
+
+ <allow send_destination="org.freedesktop.machine1"
+ send_interface="org.freedesktop.machine1.Manager"
+ send_member="GetImageMachineID"/>
+
+ <allow send_destination="org.freedesktop.machine1"
+ send_interface="org.freedesktop.machine1.Manager"
+ send_member="GetImageMachineInfo"/>
+
+ <allow send_destination="org.freedesktop.machine1"
+ send_interface="org.freedesktop.machine1.Manager"
send_member="GetImageOSRelease"/>
<allow send_destination="org.freedesktop.machine1"
@@ -206,6 +218,18 @@
<allow send_destination="org.freedesktop.machine1"
send_interface="org.freedesktop.machine1.Image"
+ send_member="GetHostname"/>
+
+ <allow send_destination="org.freedesktop.machine1"
+ send_interface="org.freedesktop.machine1.Image"
+ send_member="GetMachineID"/>
+
+ <allow send_destination="org.freedesktop.machine1"
+ send_interface="org.freedesktop.machine1.Image"
+ send_member="GetMachineInfo"/>
+
+ <allow send_destination="org.freedesktop.machine1"
+ send_interface="org.freedesktop.machine1.Image"
send_member="GetOSRelease"/>
<allow receive_sender="org.freedesktop.machine1"/>