-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from cgwalters/wireless
wifi: New example
- Loading branch information
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Install wireless support along with a static configuration file. | ||
FROM quay.io/coreos-assembler/fcos:testing-devel | ||
RUN rpm-ostree install NetworkManager-wifi NetworkManager-wwan wpa_supplicant wireless-regdb && \ | ||
rpm-ostree cleanup -m && \ | ||
ostree container commit | ||
# And also inject a configuration | ||
ADD ExampleCorpWifi.ini /etc/NetworkManager/system-connections/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[connection] | ||
id=ExampleCorpWiFi | ||
uuid=6ad20506-0f78-4060-980b-820b7508efba | ||
type=wifi | ||
interface-name=wlp4s0 | ||
permissions= | ||
|
||
[wifi] | ||
mac-address-blacklist= | ||
mode=infrastructure | ||
ssid=ExampleCorpWiFi | ||
|
||
[wifi-security] | ||
auth-alg=open | ||
key-mgmt=wpa-psk | ||
# TODO: see https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/106 | ||
# We should also have an opinionated story for managing secrets in Ignition + derivation. | ||
psk=examplekeyhere | ||
|
||
[ipv4] | ||
dns-search= | ||
method=auto | ||
|
||
[ipv6] | ||
addr-gen-mode=stable-privacy | ||
dns-search= | ||
method=auto | ||
|
||
[proxy] |