mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-01 15:01:48 +01:00
The script was generating the data-* files that later copies to the
container.
In order to the files being reusable for nm-in-vm, put them as separate
files inside the data directory.
However, some of the files need the full path to NetworkManager project,
which varies for each user. Instead, make a sed replacement on them and
generate the actual files that will be copied. Replacement:
{{BASEDIR_NM}} -> $BASEDIR_NM
Also, rename the files to more descriptive names, using some prefixes
that give a hint of where those files will be put, and the .in extension
to indicate that they will be processed.
5 lines
194 B
Text
5 lines
194 B
Text
# Overrides for NetworkManager.service with nm-in-container
|
|
# Placed in /etc/systemd/system/NetworkManager.service.d/
|
|
[Service]
|
|
Environment=G_DEBUG=fatal-warnings
|
|
Environment=NM_OBFUSCATE_PTR=0
|