Update 4 files

- /Ubuntu-LTS-Medium.sh
- /Ubuntu-LTS-Small.sh
- /Ubuntu-LTS-Large.sh
- /Ubuntu-22-04-LTS.sh
This commit is contained in:
2024-05-01 18:18:18 +00:00
parent 6409d3e6dd
commit 6e136233d6
4 changed files with 8 additions and 4 deletions

View File

@@ -8,7 +8,8 @@ DISK=100
wget https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img
#installing qemu guest agent and remove HW ID
virt-customize -a jammy-server-cloudimg-amd64.img --install qemu-guest-agent,neofetch
virt-customize -a jammy-server-cloudimg-amd64.img --run-command "curl -fsSL https://get.docker.com -o get-docker.sh sh get-docker.sh"
virt-customize -a jammy-server-cloudimg-amd64.img --run-command "curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh"
virt-customize -a jammy-server-cloudimg-amd64.img --run-command "echo -n > /etc/machine-id"
qm create $VM_ID --name $VM_NAME --net0 virtio,bridge=vmbr0
qm set $VM_ID --cores "$CPU_CORE" --sockets "$CPU_SOCKET" --memory "$RAM"