Last active
May 25, 2024 01:59
-
-
Save willjasen/1bb3e406f66452ba71e2a86960ae2311 to your computer and use it in GitHub Desktop.
set up an image of ubuntu 24.04 for me
This file contains 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 | |
# Image version - v1.0 | |
# Update the operating system | |
apt update; DEBIAN_FRONTEND=noninteractive apt upgrade -y; | |
# Install common tools | |
apt install curl git wget net-tools screen jq locate nano -y; | |
# Install management tools | |
apt install ssh openssl qemu-guest-agent cryptsetup gparted htop nmon iotop -y; ## iostat not installing | |
# Install network diagnostics tools | |
apt install iputils-ping traceroute dnsutils -y; | |
# Ensure QEMU guest agent is started and enabled | |
systemctl start qemu-guest-agent; | |
systemctl enable qemu-guest-agent | |
# Clean up no longer needed dependencies | |
apt autoremove -y; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment