Last active
August 27, 2025 14:49
-
-
Save exelban/4bd1c5c6d545a76768f2a4d86c214dc8 to your computer and use it in GitHub Desktop.
Post install script for xlc alpine image in Proxmox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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