Round-trip Dev on Live System

Working on a feature for the Kea config file generation related to vendor options (T6611)

When I edit the kea-dhcp4.conf.j2 file on a live system it can change the output of /run/kea/kea-dhcp4.conf

Editing the /usr/lib/python…/dist-packages/vyos/kea.py or template.py files has no effect though.

When I clear out all the *.pyc files from the lib dir and try again they are rebuilt and strings confirms the edits are being compiled in.

Am really hoping to avoid building a new ISO each time I make a change to the source of the Python libs esp since I am building a new Docker container each time from the ISO.

Is it possible to work on a the Python libs of a live system this way?

You can disable/stop or restart the “service vyos-configd” after change

This topic was automatically closed after 14 days. New replies are no longer allowed.