diff --git a/Ubuntu-22-04-LTS.sh b/Ubuntu-22-04-LTS.sh index 1ca7a2f..bac76fa 100644 --- a/Ubuntu-22-04-LTS.sh +++ b/Ubuntu-22-04-LTS.sh @@ -9,8 +9,7 @@ wget https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.i #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 "echo -n > /etc/machine-id" -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" qm create $VM_ID --name $VM_NAME --net0 virtio,bridge=vmbr0 qm set $VM_ID --cores "$CPU_CORE" --sockets "$CPU_SOCKET" --memory "$RAM" qm importdisk "$VM_ID" jammy-server-cloudimg-amd64.img local-lvm diff --git a/Ubuntu-LTS-Large.sh b/Ubuntu-LTS-Large.sh index 37b9e89..d7188d7 100644 --- a/Ubuntu-LTS-Large.sh +++ b/Ubuntu-LTS-Large.sh @@ -9,8 +9,7 @@ DISK=100 #installing qemu guest agent and remove HW ID virt-customize -a noble-server-cloudimg-amd64.img --install qemu-guest-agent #docker.io,docker-compose virt-customize -a noble-server-cloudimg-amd64.img --run-command "echo -n > /etc/machine-id" -virt-customize -a noble-server-cloudimg-amd64.img --run-command "curl -fsSL https://get.docker.com -o get-docker.sh -sh get-docker.sh" +virt-customize -a noble-server-cloudimg-amd64.img --run-command "curl -fsSL https://get.docker.com -o get-docker.sh sh get-docker.sh" qm create $VM_ID --name $VM_NAME --net0 virtio,bridge=vmbr0 qm set $VM_ID --cores "$CPU_CORE" --sockets "$CPU_SOCKET" --memory "$RAM" qm importdisk "$VM_ID" noble-server-cloudimg-amd64.img local-lvm diff --git a/Ubuntu-LTS-Medium.sh b/Ubuntu-LTS-Medium.sh index 10ec57f..fc810cc 100644 --- a/Ubuntu-LTS-Medium.sh +++ b/Ubuntu-LTS-Medium.sh @@ -9,8 +9,7 @@ DISK=50 #installing qemu guest agent and remove HW ID virt-customize -a noble-server-cloudimg-amd64.img --install qemu-guest-agent #docker.io,docker-compose virt-customize -a noble-server-cloudimg-amd64.img --run-command "echo -n > /etc/machine-id" -virt-customize -a noble-server-cloudimg-amd64.img --run-command "curl -fsSL https://get.docker.com -o get-docker.sh -sh get-docker.sh" +virt-customize -a noble-server-cloudimg-amd64.img --run-command "curl -fsSL https://get.docker.com -o get-docker.sh sh get-docker.sh" qm create $VM_ID --name $VM_NAME --net0 virtio,bridge=vmbr0 qm set $VM_ID --cores "$CPU_CORE" --sockets "$CPU_SOCKET" --memory "$RAM" qm importdisk "$VM_ID" noble-server-cloudimg-amd64.img local-lvm