Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

[Feature Request] support el7 wifi related interface configuration #332

Open
jhoblitt opened this issue Dec 8, 2020 · 1 comment
Open

Comments

@jhoblitt
Copy link

jhoblitt commented Dec 8, 2020

On redhat/el7 there a numerous parameters associated with configuring wifi. E.g.:

ESSID=foo
MODE=Managed
KEY_MGMT=WPA-PSK
SECURITYMODE=open
MAC_ADDRESS_RANDOMIZATION=default
TYPE=Wireless
IEEE_8021X_EAP_METHODS=PEAP
IEEE_8021X_IDENTITY=bob
IEEE_8021X_INNER_AUTH_METHODS=MSCHAPV2

There is also a per interface /etc/sysconfig/network-scripts/keys-<iface> file for secrets. E.g.:

IEEE_8021X_PASSWORD=...
@alvagante
Copy link
Member

You can specify any custom keypairs of options with the options_extra_redhat argument of the network::interface define, with values like:
network::interface { 'ifname':
[...]
options_extra_redhat => {
ESSID => 'foo',
MODE => 'Managed',
KEY_MGMT => 'WPA-PSK' ...
}

The keys files are not supported, suppose the best approach would be to create a custom wrapper around the network::interface define where to create keys files and add any custom default params.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants