Skip to content

Commit

Permalink
Disable processing of wireless interfaces on updates
Browse files Browse the repository at this point in the history
Disable the processing of wireless interfaces on all scripts other than
netinstall (where initial configuration can take place). This is the
start of checking for CAPsMAN management.

Relates to #3
  • Loading branch information
jonathanio committed Oct 4, 2023
1 parent c58f859 commit 5d62ae2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/parts/interfaces.rsc.t
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@

{{- end }}

{{- if (and (eq $i.type "wireless")
(not (eq (ds "host").export "netinstall"))) }}
{{- continue }}
{{- end }}

set [ find where name={{ $i.name }} ] \
{{- if (or (eq (ds "host").export "netinstall")
(eq (ds "host").export "mtu")) }}
Expand Down

0 comments on commit 5d62ae2

Please sign in to comment.