Skip to content

Commit

Permalink
Disable wireless on OPi images (#42)
Browse files Browse the repository at this point in the history
Use nmcli to disable wireless radios.

Fixes #31
  • Loading branch information
crschardt authored Dec 29, 2024
1 parent 52ffb3d commit 303e72d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion OPi5_CIDATA/user-data
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,5 @@ ssh_pwauth: true
#- [ wget, "http://ubuntu.com", -O, /run/mydir/index.html ]

runcmd:
- [ touch, /etc/cloud/cloud-init.disabled ]
- nmcli radio all off
- touch /etc/cloud/cloud-init.disabled
1 change: 0 additions & 1 deletion files/issue.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@
################## ::::::
##############
#########

1 change: 1 addition & 0 deletions install_opi5.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash -v

# Create pi/raspberry login
if id "$1" >/dev/null 2>&1; then
Expand Down

0 comments on commit 303e72d

Please sign in to comment.