File README of Package wicked2nm-container
# wicked2nm-container
A container for running the migration from wicked to NetworkManager
## Default migration
To run the default migration, supply no additional arguments to the `podman run`
call and mount `/etc/sysconfig/network` inside the container. For example:
`podman run -v /etc/sysconfig/network:/etc/sysconfig/network $IMAGE`
The resulting configuration files will be put inside a `NM-migrated` directory
inside `/etc/sysconfig/network`.
## Custom migration
If you need to run a customized script just supply your script as arguments to
the `podman run` call. E.g. like this
`podman run -v /etc/sysconfig/network:/etc/sysconfig/network $IMAGE bash -c "$CUSTOM_SCRIPT"`.
Inside the container wicked, NetworkManager and wicked2nm are installed.
NetworkManager and a dbus-daemon are started.
## Migration settings
To control the migration the settings can be changed using environment variables. For example:
`podman run -e "W2NM_CONTINUE_MIGRATION=true" -v /etc/sysconfig/network:/etc/sysconfig/network $IMAGE`
See the wicked2nm help page for a list of available environment variables that can be set.
The two that make the most sense currently are:
W2NM_CONTINUE_MIGRATION
W2NM_DRY_RUN