Skip to content

Instantly share code, notes, and snippets.

@dgdavid
Last active July 16, 2019 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dgdavid/3bb1999ea63ebf60e28340b083ab8ba8 to your computer and use it in GitHub Desktop.
Save dgdavid/3bb1999ea63ebf60e28340b083ab8ba8 to your computer and use it in GitHub Desktop.
Integration test for firewall AYConfig

Scenario to test firewall~AYConfig

⚠️ This gist was created just to test changes introduced in yast/yast-firewall#119 ⚠️


It is needed to test that the previously imported profile/configuration will not be lost when user makes changes after that through the Edit option.

To check it, see the steps in the comment below.

@dgdavid
Copy link
Author

dgdavid commented Jan 22, 2019

  • Open YaST

  • Go to Miscellaneous → Autoinstallation Configuration

    yast_misc_autoconfig

  • ^^ or simply run yast autoyast ^^

  • Import a profile, File → Open

    yast_autoconfig_import

    yast_auto_config_file_to_load

  • Go to Security and Users → Firewall

  • Click on Edit

    yast_autoconfig_firewall_custom_interface

  • Do some change, in example: add a custom interface in the public zone

    yast_autoconfig_firewall_custom_interface

  • Accept the changes

  • Ensures that, in addition to changes made, previously imported configuration still there (example zone and services of home)

    yast_autoconfig_firewall_edited

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment