Skip to content
Snippets Groups Projects
Verified Commit 21fe0a6f authored by Karel Koci's avatar Karel Koci :metal:
Browse files

imgs: add client images

parent 2389dcd8
Branches
1 merge request!2Initial development
#!/bin/bash
# nsfarm:client
##################################################################################
# Client on WiFi
##################################################################################
set -e
wait4network
# Install wpa_supplicant
apk add wpa_supplicant-openrc
rc-update add wpa_supplicant default
#!/bin/bash
# nsfarm:base-alpine
##################################################################################
# Common image for clients on LAN
##################################################################################
set -e
wait4network
# Add openssh client to access router shell
apk add openssh-client
# Configure LAN1 interface for static local network
cat >> /etc/network/interfaces <<EOF
auto lan
iface lan inet dhcp
EOF
Host 192.168.*
# No confirmation of fingerprint on first connection
StrictHostKeyChecking no
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment