Please support multiline input in the dbus Set() command

Bug #1926486 reported by Michael Vogt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Netplan
Invalid
Undecided
Unassigned

Bug Description

It would be great if the dbus API would support multi-line Set().

Tags: fr-1333
tags: added: fr-1333
Revision history for this message
Michael Vogt (mvo) wrote :
Revision history for this message
Michael Vogt (mvo) wrote :

Gustavo actually suggested to just pass the yaml as single line json, that would make my PR pointless.

Revision history for this message
Lukas Märdian (slyon) wrote :

Single line JSON is already supported (below the "network" key), like this:

$ busctl call io.netplan.Netplan /io/netplan/Netplan/config/2HG220 io.netplan.Netplan.Config Set ss "network={ethernets:{eth42:{dhcp4: true, dhcp6: false}}}" ""

Would that work for you?

Revision history for this message
Łukasz Zemczak (sil2100) wrote :

Hey @mvo! Is what Lukas proposed good enough for you? Or is this feature-request still valid?

Revision history for this message
Michael Vogt (mvo) wrote :

I think we are fine with the json based setting.

Changed in netplan:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.