Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First, identify the files, which were changed. The resulting listing should mostly contain files, which are expected to have been changed, so this article will focus on the /etc/  directory.

  1. Log in as root.
  2. You can inspect the file system structure in /, but the actual changes reside in /rw/overlay-rw/
  3. Run the following command to find all changed files (you can pipe it to a file as well for easier inspection): find /rw/ 
  4. Now let's run a more narrow search to only find the changed files in /etc/ : find /rw/ | grep "/rw/overlay-rw/etc/" 
  5. Let's say, you found this file, and you know you modified it: /rw/overlay-rw/etc/check_mk/logwatch.cfg
    1. You can remove the changes by running rm /rw/overlay-rw/etc/check_mk/logwatch.cfg
    2. Do NOT remove the file at /etc/check_mk/logwatch.cfg! This would remove the whole file and not only custom changes!
  6. Congratulations, you have reverted the file to its factory default.

Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "kb-how-to-article" , "appliance" ) and type = "page" and space = "KB"
labelskb-how-to-article

...