Initial commit
This commit is contained in:
parent
225aa62795
commit
292f29ed8d
46
README.md
46
README.md
|
@ -1,2 +1,44 @@
|
||||||
# alpine-linux-headless-bootstrap
|
# Deploy Alpine Linux on a headless box
|
||||||
Headless Alpine Linux deployment scripts
|
|
||||||
|
The [Alpine Linux documentation](https://docs.alpinelinux.org/user-handbook/0.1a/Installing/setup_alpine.html) assumes one can interract with system directly with a keyboard & display.\
|
||||||
|
However, there are many cases where one might want to deploy a headless system, only available via a network connection (ethernet, wifi or as USB ethernet gadget).
|
||||||
|
|
||||||
|
This repo provides an overaly file headless system can boot with (leveraging Alpine distro's `initramfs` feature): it enables basic ssh server to log-into from another Computer in order to finalize system set-up.
|
||||||
|
|
||||||
|
|
||||||
|
## Install procedure:
|
||||||
|
Please follow [Alpine Linux Wiki](https://wiki.alpinelinux.org/wiki/Installation#Installation_Overview) to download & create installation media for chosen platform.\
|
||||||
|
Tools provided here can be used on any plaform for any install modes (diskless, data disk, system disk).
|
||||||
|
|
||||||
|
Just add [**headless.apkovl.tar.gz**](https://github.com/macmpi/alpine-linux-headless-bootstrap/raw/main/headless.apkovl.tar.gz) overlay file at the root of Alpine Linux boot media (or onto any writeable side-media) and boot the box !
|
||||||
|
|
||||||
|
With default network interface definitions (and optional wifi SSID/pass file), one may then access the system under `ssh` with:\
|
||||||
|
`ssh root@<IP>` (system IP address may be determined with any IP scanning tools such as `nmap`).
|
||||||
|
|
||||||
|
As with Alpine Linux initial bring-up, `root` account has no password initially (change that after setup!).\
|
||||||
|
From there, system install can be fine-tuned as usual with `setup-alpine` for instance (check wiki for details).
|
||||||
|
|
||||||
|
|
||||||
|
Optional files can be added next to `headless.apkovl.tar.gz` to customise setup (sample files are provided):
|
||||||
|
- `wpa_supplicant.conf`: define wifi SSID & password (mandatory for wifi usecase).
|
||||||
|
- `interfaces`: define network interfaces at will, if [defaults](https://github.com/macmpi/alpine-linux-headless-bootstrap/blob/main/overlay/etc/local.d/headless.start#L26-L64) (DCHP-based) are not suitable.
|
||||||
|
- `unattended.sh`: make custom automated deployment script to further tune setup automatically (backgrounded).
|
||||||
|
|
||||||
|
*Note:* these files are linux text files: Windows/macOS users need to use text editors supporting linux text line-ending (such as [notepad++](https://notepad-plus-plus.org/), BBEdit or any other).
|
||||||
|
|
||||||
|
Main steps are logged in `/var/log/messages`.
|
||||||
|
|
||||||
|
|
||||||
|
## How to customize further ?
|
||||||
|
This repository may be forked/cloned/downloaded.\
|
||||||
|
Main script file is [`headless.start`](https://github.com/macmpi/alpine-linux-headless-bootstrap/blob/main/overlay/etc/local.d/headless.start).\
|
||||||
|
Execute `./make.sh` to rebuild `headless.apkovl.tar.gz`.
|
||||||
|
|
||||||
|
*Side note:* one nicety for bootstrapping PiZero devices or similar which can support USB ethernet gadget networking.\
|
||||||
|
Just add `dtoverlay=dwc2` in `config.txt`, and plug-in USB to Computer port.\
|
||||||
|
With Computer set-up to share networking with USB interface, device will appear at 10.42.0.2 onto Computer's subnet to log into !...
|
||||||
|
|
||||||
|
|
||||||
|
## Credits
|
||||||
|
Thanks for the original instructions & scripts from @sodface and @davidmytton.
|
||||||
|
|
||||||
|
|
Binary file not shown.
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
chmod +x overlay/etc/local.d/headless.start
|
||||||
|
tar czvf headless.apkovl.tar.gz -C overlay etc --owner=0 --group=0
|
|
@ -0,0 +1,124 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Redirect stdout and errors to console as rc.local does not log anything
|
||||||
|
exec 1>/dev/console 2>&1
|
||||||
|
|
||||||
|
mkdir /tmp/.trash
|
||||||
|
ovlpath=$( find /media -type f -name *.apkovl.tar.gz -exec dirname {} \; | head -1 )
|
||||||
|
|
||||||
|
|
||||||
|
## Setup Network interfaces
|
||||||
|
if [ -f "${ovlpath}/wpa_supplicant.conf" ]; then
|
||||||
|
logger -st ${0##*/} "Wifi setup found !"
|
||||||
|
apk add wpa_supplicant
|
||||||
|
cp "${ovlpath}/wpa_supplicant.conf" /etc/wpa_supplicant/wpa_supplicant.conf
|
||||||
|
rc-service wpa_supplicant start
|
||||||
|
else
|
||||||
|
logger -st ${0##*/} "Wifi setup not found !"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! cp "${ovlpath}/interfaces" /etc/network/interfaces; then
|
||||||
|
# set default interfaces if not specified by interface file on boot storage
|
||||||
|
logger -st ${0##*/} "No interfaces file supplied, building default interfaces..."
|
||||||
|
for dev in $(ls /sys/class/net)
|
||||||
|
do
|
||||||
|
case ${dev%%[0-9]*} in
|
||||||
|
lo)
|
||||||
|
cat <<-EOF >> /etc/network/interfaces
|
||||||
|
auto $dev
|
||||||
|
iface $dev inet loopback
|
||||||
|
|
||||||
|
EOF
|
||||||
|
;;
|
||||||
|
eth)
|
||||||
|
cat <<-EOF >> /etc/network/interfaces
|
||||||
|
auto $dev
|
||||||
|
iface $dev inet dhcp
|
||||||
|
hostname localhost
|
||||||
|
|
||||||
|
EOF
|
||||||
|
;;
|
||||||
|
wlan)
|
||||||
|
[ -f /etc/wpa_supplicant/wpa_supplicant.conf ] && cat <<-EOF >> /etc/network/interfaces
|
||||||
|
auto $dev
|
||||||
|
iface $dev inet dhcp
|
||||||
|
hostname localhost
|
||||||
|
|
||||||
|
EOF
|
||||||
|
;;
|
||||||
|
usb)
|
||||||
|
cat <<-EOF >> /etc/network/interfaces
|
||||||
|
auto $dev
|
||||||
|
iface $dev inet static
|
||||||
|
address 10.42.0.2/24
|
||||||
|
gateway 10.42.0.1
|
||||||
|
hostname localhost
|
||||||
|
|
||||||
|
EOF
|
||||||
|
|
||||||
|
cat <<-EOF > /etc/resolv.conf
|
||||||
|
nameserver 208.67.222.222
|
||||||
|
nameserver 208.67.220.220
|
||||||
|
|
||||||
|
EOF
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Using following network interfaces:"
|
||||||
|
cat /etc/network/interfaces
|
||||||
|
|
||||||
|
rc-service networking start
|
||||||
|
|
||||||
|
|
||||||
|
## Setup temporary SSH server (root login, no password)
|
||||||
|
## we use some bundled keys to avoid generation at boot and save time
|
||||||
|
## bundled temporary keys are moved in /tmp so they won't be stored
|
||||||
|
## within permanent config later (new ones will then be generated)
|
||||||
|
apk add openssh
|
||||||
|
|
||||||
|
mv /etc/ssh/ssh_host_* /tmp/.trash/.
|
||||||
|
|
||||||
|
cp /etc/ssh/sshd_config /etc/ssh/sshd_config.orig
|
||||||
|
cat <<-EOF >> /etc/ssh/sshd_config
|
||||||
|
AuthenticationMethods none
|
||||||
|
PermitEmptyPasswords yes
|
||||||
|
PermitRootLogin yes
|
||||||
|
HostKey /tmp/.trash/ssh_host_dsa_key
|
||||||
|
HostKey /tmp/.trash/ssh_host_ecdsa_key
|
||||||
|
HostKey /tmp/.trash/ssh_host_ed25519_key
|
||||||
|
HostKey /tmp/.trash/ssh_host_rsa_key
|
||||||
|
EOF
|
||||||
|
|
||||||
|
cp /etc/conf.d/sshd /etc/conf.d/sshd.orig
|
||||||
|
cat <<-EOF >> /etc/conf.d/sshd
|
||||||
|
sshd_disable_keygen=yes
|
||||||
|
EOF
|
||||||
|
|
||||||
|
rc-service sshd start
|
||||||
|
|
||||||
|
if [ -f "${ovlpath}/unattended.sh" ]; then
|
||||||
|
install -m755 "${ovlpath}/unattended.sh" /tmp/unattended.sh
|
||||||
|
/tmp/unattended.sh >/dev/console 2>&1 &
|
||||||
|
logger -st ${0##*/} "/tmp/unattended.sh script launched in the background with PID $!"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
## Prep for final post-cleanup
|
||||||
|
cat <<-EOF > /tmp/.trash/post-cleanup
|
||||||
|
#!/bin/sh
|
||||||
|
logger -st ${0##*/} "Cleaning-up..."
|
||||||
|
mv /etc/ssh/sshd_config.orig /etc/ssh/sshd_config
|
||||||
|
mv /etc/conf.d/sshd.orig /etc/conf.d/sshd
|
||||||
|
rm /etc/modules-load.d/g_ether.conf
|
||||||
|
rm /etc/modprobe.d/g_ether.conf
|
||||||
|
rc-update del local default
|
||||||
|
rm /etc/local.d/headless.start
|
||||||
|
|
||||||
|
logger -st ${0##*/} "Done !!"
|
||||||
|
EOF
|
||||||
|
|
||||||
|
chmod +x /tmp/.trash/post-cleanup
|
||||||
|
exec /tmp/.trash/post-cleanup
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
# added to support USB-Ethernet gadget mode at boot for Pi devices
|
||||||
|
|
||||||
|
options g_ether dev_addr=ea:64:2f:e8:19:94 host_addr=f6:67:ce:b3:c0:ea
|
|
@ -0,0 +1,6 @@
|
||||||
|
# added to support USB-Ethernet gadget mode at boot for Pi devices
|
||||||
|
# also requires dtoverlay=dwc2 is added to usercfg.txt or config.txt
|
||||||
|
|
||||||
|
dwc2
|
||||||
|
g_ether
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
/etc/init.d/local
|
|
@ -0,0 +1,21 @@
|
||||||
|
-----BEGIN OPENSSH PRIVATE KEY-----
|
||||||
|
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABsQAAAAdzc2gtZH
|
||||||
|
NzAAAAgQDHKXTtPOsM86zrYXbYx4JpmRlxIipjm1H2ce8YyTWJj3es/rjMXN3bB3LOuXWB
|
||||||
|
20XzwU8Z/cIOyhzWixsucU60bmiP7y+lR1m9bqYD+GftcmJJD4A5kpz1laivGqRNhpfYrN
|
||||||
|
TAe7+jGNi7xh80O91L3ScCQArZJdhhNAa9HosV/QAAABUAlZem7iptLcndvpXz3Gj1MXYY
|
||||||
|
bN0AAACASzMGzrARwRQB1KPxjrwVXVoPi5QGH3bnziaWMiKXxVu2br5lkqu57unXUHX1ec
|
||||||
|
r3emUbghGQdQmk8ERnxYokbKHihsHoYBY4GYPRuz6WI52PcHFwaw2ceLjCASEJVgzNdn/K
|
||||||
|
PNS1Qx68XvTwt7+F1ZlRKnG2aIZA+PqpeUCU/IcAAACAdb1dRX6MNPoim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
||||||
|
-----END OPENSSH PRIVATE KEY-----
|
|
@ -0,0 +1 @@
|
||||||
|
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBACjpNwgCCcUYJfQcluoW3ARr8f41DWBCll/36AolxYI0gaQZ1KB6sRFurHdqeMQMq/DOU+vBJpoXSAxJGD/bJ8= root@localhost
|
|
@ -0,0 +1,7 @@
|
||||||
|
-----BEGIN OPENSSH PRIVATE KEY-----
|
||||||
|
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
|
||||||
|
QyNTUxOQAAACCF1PEIbFPSWF5xRx3uqY+AcSgwKn3t8S/jLV3unTJWLgAAAJjeHXU03h11
|
||||||
|
NAAAAAtzc2gtZWQyNTUxOQAAACCF1PEIbFPSWF5xRx3uqY+AcSgwKn3t8S/jLV3unTJWLg
|
||||||
|
AAAEBf0MGN5wVf2zA5llczr1s/rZQZgxEC45vUpqMkBGSkW4XU8QhsU9JYXnFHHe6pj4Bx
|
||||||
|
KDAqfe3xL+MtXe6dMlYuAAAADnJvb3RAbG9jYWxob3N0AQIDBAUGBw==
|
||||||
|
-----END OPENSSH PRIVATE KEY-----
|
|
@ -0,0 +1 @@
|
||||||
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIXU8QhsU9JYXnFHHe6pj4BxKDAqfe3xL+MtXe6dMlYu root@localhost
|
|
@ -0,0 +1,38 @@
|
||||||
|
-----BEGIN OPENSSH PRIVATE KEY-----
|
||||||
|
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn
|
||||||
|
NhAAAAAwEAAQAAAYEA0t3ihqAwAeWblbY9e885sJfDC0Eo1bIXOGaBfSRnaRLU+lD1eUht
|
||||||
|
ERVu49dZ+pJyTxZWefXa7jU8ungTxk0uxObaH2QLjcw+ZqW5HDyus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localhost
|
|
@ -0,0 +1,19 @@
|
||||||
|
# Sample network interfaces file
|
||||||
|
|
||||||
|
auto lo
|
||||||
|
iface lo inet loopback
|
||||||
|
|
||||||
|
auto eth0
|
||||||
|
iface eth0 inet dhcp
|
||||||
|
hostname localhost
|
||||||
|
|
||||||
|
auto wlan0
|
||||||
|
iface wlan0 inet dhcp
|
||||||
|
hostname localhost
|
||||||
|
|
||||||
|
auto usb0
|
||||||
|
iface usb0 inet static
|
||||||
|
address 10.42.0.2/24
|
||||||
|
gateway 10.42.0.1
|
||||||
|
hostname localhost
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#/bin/sh
|
||||||
|
|
||||||
|
echo hello world !!
|
||||||
|
sleep 60
|
||||||
|
logger -st ${0##*/} "Finished unattended script"
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
# Sample wpa_supplicant.conf
|
||||||
|
country=FR
|
||||||
|
|
||||||
|
network={
|
||||||
|
key_mgmt=WPA-PSK
|
||||||
|
ssid="mySSID"
|
||||||
|
psk="myPassPhrase"
|
||||||
|
}
|
Loading…
Reference in New Issue