Restarting the salt-minion:
# Restart salt-minion in the background (on changes only).
salt-minion_restart:
cmd.run:
- name: 'salt-call --local service.restart salt-minion'
- bg: True
- order: last| openapi: 3.0.0 | |
| info: | |
| version: 1.0.0 | |
| title: xkcd | |
| description: 'A webcomic of romance, sarcasm, math, and language.' | |
| servers: | |
| - url: https://xkcd.com/ | |
| description: Official xkcd JSON interface |
| # Install XQuartz | |
| brew cask install xquartz | |
| # Restart MacOS | |
| # Open XQuartz | |
| open -a XQuartz | |
| # Ensure the "Allow connections from network clients" option in Preferences >> Security is turned on |
| #!/usr/bin/env python | |
| # socat -d -d pty,raw,echo=0 pty,raw,echo=0 | |
| import serial | |
| import time | |
| import argparse | |
| TELEGRAM1 = """/ISK5\2M550T-1012 |
Restarting the salt-minion:
# Restart salt-minion in the background (on changes only).
salt-minion_restart:
cmd.run:
- name: 'salt-call --local service.restart salt-minion'
- bg: True
- order: lastStart by downloading the latest Raspbian from: raspberrypi.org.
Copy the image to the SD-card:
dd bs=4M if=2017-07-05-raspbian-jessie.img of=/dev/sdX conv=fsyncMount the SD-card and add the wireless configuration file named wpa_supplicant.conf to the root of the boot partition: