Script for post-debootstrap setup (WIP)
parent
52110c4a57
commit
04bfeb8963
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
|
||||||
|
apt-get -y install gnupg2
|
||||||
|
apt-key add docker.key # TODO debootstrap has to push key in reach
|
||||||
|
echo 'deb https://download.docker.com/linux/debian stretch stable' > /etc/apt/sources.list.d/docker.list
|
||||||
|
apt-get update
|
||||||
|
apt-get -y --purge autoremove gnupg2
|
||||||
|
|
||||||
|
apt install \
|
||||||
|
systemd \
|
||||||
|
dropbear
|
Loading…
Reference in New Issue