mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 22:20:08 +01:00
Message of the day was shown twice because the same bashrc.my file than for containers was used. That file contained some code to show motd in the container, where it is not shown by default. But in the VM, the motd is shown by default, so it was shown twice. Move the code to show motd to a file used only by nm-in-container and not by nm-in-vm. Also, modify the explanation about using prepare-for-system.sh because it's only valid for Fedora but nm-in-vm can be used with other SOs too. |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| bin-_nm-in-container-setup.sh.in | ||
| bin-nm-deploy.sh.in | ||
| bin-nm-env-prepare.sh.in | ||
| etc-bashrc-motd.my.in | ||
| etc-bashrc.my.in | ||
| etc-motd-container.in | ||
| etc-motd-vm.in | ||
| etc-rc.local.in | ||
| home-bash_history.in | ||
| home-behaverc.in | ||
| home-gdb_history.in | ||
| home-gdbinit.in | ||
| nm-90-my.conf.in | ||
| nm-95-user.conf.in | ||
| README.md | ||
| systemd-10-host-net.link.in | ||
| systemd-20-nm.override.in | ||
| systemd-dhcp-host.service.in | ||
Run NetworkManager in Container for Development
Run nm-in-container script for running NetworkManager in a non-root,
privileged podman container. Run nm-in-vm to do it in a vitual machine.
This is useful for testing NetworkManager for development.
Try ./nm-in-container --help or ./nm-in-vm --help to see options. Inside
the container, see the bash history for useful commands and read the hints in
"/etc/motd".