Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • NetworkManager NetworkManager
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 163
    • Issues 163
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • NetworkManagerNetworkManager
  • NetworkManagerNetworkManager
  • Merge requests
  • !1183

nmcli: add --offline to "conn add" and "conn modify"

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Lubomir Rintel requested to merge lr/nmcli-offline into main Apr 06, 2022
  • Overview 18
  • Commits 7
  • Pipelines 11
  • Changes 10

Implement's these:

      $ nmcli --offline conn add type ethernet ens3 ipv4.dns 192.168.1.1 \
          >output.nmconnection
      $ nmcli --offline connection modify ens3 ipv4.dns 192.168.1.1 \
          <input.nmconnection >output.nmconnection

The is what was suggested by Beniamino in https://bugzilla.redhat.com/show_bug.cgi?id=1361145, because I liked it.

It is currently useful for completely offline operation e.g. in kickstarts.

Once an ability to import/export keyfiles gets implemeneted, it would be possible to integrate the offline commands with the running service. This patch set doesn't implement that.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: lr/nmcli-offline