Skip to content

Instantly share code, notes, and snippets.

@exelban
Last active August 27, 2025 14:49
Show Gist options
  • Save exelban/4bd1c5c6d545a76768f2a4d86c214dc8 to your computer and use it in GitHub Desktop.
Save exelban/4bd1c5c6d545a76768f2a4d86c214dc8 to your computer and use it in GitHub Desktop.
Post install script for xlc alpine image in Proxmox
#!/bin/sh
# Usage: wget -O - https://gist.github.com/exelban/4bd1c5c6d545a76768f2a4d86c214dc8/raw | sh
# Remove the default message of the day
rm /etc/motd
# Update package index
apk update
# Install Docker and Docker Compose, OpenSSH, nano, htop, curl
apk add docker docker-compose openssh nano htop curl
# Enable Docker to start on boot and start the service
rc-update add docker default
/etc/init.d/docker start
# Enable/start the service OpenSSH
rc-update add sshd
rc-service sshd start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment