Extend firewall stage to set the default zone
Extend the firewall stage to allow setting the default firewall zone. Modify the stage unit test accordingly. Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
parent
3eb91401cf
commit
e71a91f5d0
4 changed files with 21 additions and 5 deletions
|
|
@ -488,7 +488,8 @@
|
|||
],
|
||||
"disabled_services": [
|
||||
"telnet"
|
||||
]
|
||||
],
|
||||
"default_zone": "trusted"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -42,7 +42,8 @@
|
|||
],
|
||||
"disabled_services": [
|
||||
"telnet"
|
||||
]
|
||||
],
|
||||
"default_zone": "trusted"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -1,8 +1,11 @@
|
|||
{
|
||||
"added_files": [
|
||||
"/etc/firewalld/zones/public.xml",
|
||||
"/etc/firewalld/zones/public.xml.old"
|
||||
"/etc/firewalld/firewalld.conf.old",
|
||||
"/etc/firewalld/zones/trusted.xml",
|
||||
"/etc/firewalld/zones/trusted.xml.old"
|
||||
],
|
||||
"deleted_files": [],
|
||||
"differences": {}
|
||||
"differences": {
|
||||
"/etc/firewalld/firewalld.conf": {"mode": [41471, 33152]}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue