Start unattended installation with script flag '-a'#26
Open
doctore74 wants to merge 1 commit intosdetweil:masterfrom
Open
Start unattended installation with script flag '-a'#26doctore74 wants to merge 1 commit intosdetweil:masterfrom
doctore74 wants to merge 1 commit intosdetweil:masterfrom
Conversation
If you start the installation with ./raspberry.sh -a you will not be asked if you want to configure MM auto start or disable the screensaver. This will all be done without asking. Useful for unattended installation. (I use a local Gitlab instance to store my configurations and Ansible to push them to the MM installation afterwards.)
For complete unattended installation do the following with a Raspberry Pi 3 (in my case) and Raspberry Pi OS:
1. burn Raspberry Pi OS (32bit) on a SD card
2. copy a blank ssh file into the SD root (for enabled ssh.service)
3. copy a file wpa_supplicant.conf with the following content also onto the SD card (for configured and enabled wifi):
## WPA/WPA2 secured
network={
ssid="INSERT_YOUR_SSID"
scan_ssid=1
psk="INSERT_YOUR_PASS"
key_mgmt=WPA-PSK
}
#country=GB # United Kingdom
#country=CA # Canada
country=DE # Germany
#country=FR # France
#country=US # United States
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
4. Insert the SD card into your Pi, boot and wait with some coffee.
Owner
|
that is not how i tell u to run it... |
Author
|
Hi, i know. You can now do it your way or with the -a flag. So it is usable in automation systems like Ansible. |
|
How would you like to see it @sdetweil probably we could adapt. Your script is amazing we just want to also be able to use it for automation like @doctore74 already mentioned. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If you start the installation with ./raspberry.sh -a you will not be asked if you want to configure MM auto start or disable the screensaver. This will all be done without asking. Useful for unattended installation. (I use a local Gitlab instance to store my configurations and Ansible to push them to the MM installation afterwards.)
For nearly complete unattended installation do the following with a Raspberry Pi 3 (in my case) and Raspberry Pi OS:
WPA/WPA2 secured
network={
ssid="INSERT_YOUR_SSID"
scan_ssid=1
psk="INSERT_YOUR_PASS"
key_mgmt=WPA-PSK
}
#country=GB # United Kingdom
#country=CA # Canada
country=DE # Germany
#country=FR # France
#country=US # United States
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1