Comment 10 for bug 1967084

Revision history for this message
Michael Vogt (mvo) wrote : Re: netplan dbus returns "false" in io.netplan.Netplan.Config.Set

Here is a reproducer script
"""
#!/bin/sh

set -ex

objpath=$(dbus-send --type=method_call --system --print-reply --dest=io.netplan.Netplan /io/netplan/Netplan io.netplan.Netplan.Config | grep "object path" | cut -d'"' -f2)
dbus-send --type=method_call --system --print-reply --dest=io.netplan.Netplan "$objpath" io.netplan.Netplan.Config.Set string:"bridges.br54.dhcp4=true" string:"90-foo"
dbus-send --type=method_call --system --print-reply --dest=io.netplan.Netplan "$objpath" io.netplan.Netplan.Config.Try uint32:300
"""