1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/microshift-undo-network-config.adoc
2024-01-26 17:31:24 +00:00

39 lines
1.1 KiB
Plaintext

// Module included in the following assemblies:
//
// * microshift_networking/microshift-disconnected-network-config.adoc
:_mod-docs-content-type: PROCEDURE
[id="microshift-undo-network-config_{context}"]
= Restoring {microshift-short} networking settings to default
You can remove networking customizations and return the network to default settings by stopping {microshift-short} and running a clean-up script.
.Prerequisites
* RHEL 9 or newer.
* MicroShift 4.14 or newer.
* Access to the host CLI.
.Procedure
. Stop the {microshift-short} service by running the following command:
+
[source,terminal]
----
$ sudo systemctl stop microshift
----
. Stop the `kubepods.slice` systemd unit by running the following command:
+
[source,terminal]
----
$ sudo systemctl stop kubepods.slice
----
. {microshift-short} installs a helper script to undo network changes made by OVN-K. Run the cleanup script by entering the following command:
+
[source,terminal]
----
$ sudo /usr/bin/microshift-cleanup-data --ovn
----
//Q: any sample output? what should we see when we run the script?