document connection removal
This commit is contained in:
@@ -133,6 +133,26 @@ networking::connection::management_network:
|
||||
|
||||
All routing options can be found in the Red Hat NetworkManager documentation ([RHEL8](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/configuring-static-routes_configuring-and-managing-networking#how-to-use-the-nmcli-command-to-configure-a-static-route_configuring-static-routes), [RHEL9](https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/configuring_and_managing_networking/configuring-static-routes_configuring-and-managing-networking#how-to-use-the-nmcli-command-to-configure-a-static-route_configuring-static-routes)).
|
||||
|
||||
### Removing a Connection
|
||||
|
||||
A connection does **not get removed** when its configuration has been removed in Hiera and was applied on the node.
|
||||
|
||||
To remove it you may do it manually or reboot.
|
||||
|
||||
Manual removal is done with `nmcli connection down $ID/$CONNECTION_NAME`:
|
||||
```
|
||||
[root@lx-test-dmz-01 ~]# nmcli connection
|
||||
NAME UUID TYPE DEVICE
|
||||
dmz_network f77611ac-b6e2-5a08-841e-8a1023eefaed ethernet ens33
|
||||
ens35 f3ba4a81-8c9b-4aec-88ee-ddffd32f67fa ethernet ens35
|
||||
[root@lx-test-dmz-01 ~]# nmcli connection down f3ba4a81-8c9b-4aec-88ee-ddffd32f67fa
|
||||
Connection 'ens35' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/2)
|
||||
[root@lmu-user-dmz-01 ~]# nmcli connection
|
||||
NAME UUID TYPE DEVICE
|
||||
dmz_network f77611ac-b6e2-5a08-841e-8a1023eefaed ethernet ens33
|
||||
[root@lx-test-dmz-01 ~]#
|
||||
```
|
||||
|
||||
### DNS Override
|
||||
|
||||
The internal nameservers are configured according to the network zone by Puppet.
|
||||
|
||||
Reference in New Issue
Block a user