mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-20 04:40:04 +01:00
Script to create a RHCOS custom image containing a NetworkManager rpm from a copr repository. In order to have a custom RHCOS image, we cannot modify the image itself but we can add a custom layered image that includes all RHCOS functionality and adds additional functionality to it. Requirements: - A quay.io registry where you have push access. - You must have your pull-secret in the same directory where the script is being run. You can download your pull-secret from: https://console.redhat.com/openshift/install/pull-secret In order to install this on nodes from a cluster that already exists it must be done using MachineConfig operator. In essence the following YAML file must be created. ``` apiVersion: machineconfiguration.openshift.io/v1 kind: MachineConfig metadata: labels: machineconfiguration.openshift.io/role: <role> name: os-layer-custom-nm spec: osImageURL: <registry> ``` Please, notice that the role and registry need to be set to your needs. Then, it can be applied by: $ oc create -f <yaml file> Finally, the machines will be ready once the field UPDATED has the True value in the output of this command. $ oc get mcp |
||
|---|---|---|
| .. | ||
| nm-guest-data | ||
| check-compare-generated.sh | ||
| check-config-options.sh | ||
| check-docs.sh | ||
| check-exports.sh | ||
| check-gitlab-ci.sh | ||
| check-nm-autoptr.sh | ||
| check-tree.sh | ||
| check-vapi.sh | ||
| create-exports-NetworkManager.sh | ||
| debug-helper.py | ||
| enums-to-docbook.pl | ||
| generate-docs-nm-property-infos.py | ||
| generate-docs-nm-settings-docs-gir.py | ||
| generate-docs-nm-settings-docs-merge.py | ||
| generate-docs-settings-docs.py | ||
| meson-dist-data.sh | ||
| meson-post-install.sh | ||
| nm-in-container | ||
| nm-in-vm | ||
| nm-to-rhcos | ||
| run-nm-test.sh | ||
| test-build.sh | ||
| test-cloud-meta-mock.py | ||
| test-networkmanager-service.py | ||
| test-sudo-wrapper.sh | ||