Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
truenas-rk3588
truenas
Commits
4b53c492
Unverified
Commit
4b53c492
authored
3 years ago
by
Andrew
Committed by
GitHub
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
NAS-112575 / 12.0 / Refuse to generate avahi config on passive controller (#7711)
parent
074b7349
truenas/12.0-stable
TN-12.0-U8.1
TN-12.0-U8
TN-12.0-U7
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/middlewared/middlewared/etc_files/local/avahi/avahi-daemon.conf
+3
-0
...wared/middlewared/etc_files/local/avahi/avahi-daemon.conf
with
3 additions
and
0 deletions
+3
-0
src/middlewared/middlewared/etc_files/local/avahi/avahi-daemon.conf
View file @
4b53c492
...
...
@@ -19,6 +19,9 @@
ipv6_enabled
=
any
(
middleware
.
call_sync
(
'interface.ip_in_use'
, {
'ipv4'
:
False
,
'ipv6'
:
True
}))
failover_int
=
middleware
.
call_sync
(
"failover.internal_interfaces"
)
failover_status
=
middleware
.
call_sync
(
'failover.status'
)
if
failover_status
not
in
[
'SINGLE'
,
'MASTER'
]:
raise
FileShouldNotExist
()
%>
[
server
]
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help