Skip to content

Instantly share code, notes, and snippets.

@willjasen
Last active May 25, 2024 01:59
Show Gist options
  • Save willjasen/1bb3e406f66452ba71e2a86960ae2311 to your computer and use it in GitHub Desktop.
Save willjasen/1bb3e406f66452ba71e2a86960ae2311 to your computer and use it in GitHub Desktop.
set up an image of ubuntu 24.04 for me
#!/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