new dep edit

This commit is contained in:
2024-10-07 01:45:12 +00:00
parent 4f77d2e885
commit dae5a29ddd
3 changed files with 7 additions and 7 deletions

View File

@@ -1,11 +1,11 @@
VM_ID=2000
VM_ID=3000
VM_NAME="Ubuntu-24-04-LTS-Medium-Docker"
CPU_CORE=2
CPU_SOCKET=2
RAM=4096
DISK=50
#getting latest image"
wget https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img
#wget https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img
#installing qemu guest agent and remove HW ID
virt-customize -a noble-server-cloudimg-amd64.img --install qemu-guest-agent
virt-customize -a noble-server-cloudimg-amd64.img --run-command "curl -fsSL https://get.docker.com -o get-docker.sh
@@ -22,5 +22,5 @@ qm resize $VM_ID scsi0 "$DISK"G
qm set "$VM_ID" --ipconfig0 ip=dhcp
qm set "$VM_ID" --agent enabled=1
qm template "$VM_ID"
rm noble-server-cloudimg-amd64.img clean iso
#rm noble-server-cloudimg-amd64.img clean iso
echo "Template er ferdig med id "$VM_ID""