Skip to content

Commit

Permalink
📖 Add alpine wifi cloud-config (#2819)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyjones2 authored Sep 10, 2024
1 parent 5bf3a1c commit 13112ff
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions examples/cloud-configs/wifi-alpine.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#cloud-config

hostname: metal-{{ trunc 4 .MachineID }}
users:
- name: kairos
# Change to your pass here
passwd: kairos
ssh_authorized_keys:
# Replace with your github user and un-comment the line below:
# - github:mudler

stages:
initramfs:
- name: Setup wireless
files:
# Generate manually by following https://wiki.archlinux.org/title/ConnMan and add contents below
- path: /var/lib/connman/wifi_xxxxxxxxxxxx_zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz_managed_psk/settings
permissions: 0600
content: |
[wifi_xxxxxxxxxxxx_zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz_managed_psk]
Name=Your_SSID
...etc...
boot:
- name: Enable wireless
commands:
- connmanctl enable wifi

0 comments on commit 13112ff

Please sign in to comment.