From 3d932c3cdca99ff9d78823a84a51c0d8bbe2ff76 Mon Sep 17 00:00:00 2001 From: Steffen Date: Mon, 7 Oct 2024 01:57:59 +0000 Subject: [PATCH] new server edit --- Ubuntu-LTS-Large.sh | 6 +++--- Ubuntu-LTS-Medium.sh | 6 +++--- Ubuntu-LTS-Small.sh | 6 +++--- all.sh | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Ubuntu-LTS-Large.sh b/Ubuntu-LTS-Large.sh index 301b79b..60b4a5e 100644 --- a/Ubuntu-LTS-Large.sh +++ b/Ubuntu-LTS-Large.sh @@ -13,9 +13,9 @@ sh get-docker.sh" virt-customize -a noble-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" -qm importdisk "$VM_ID" noble-server-cloudimg-amd64.img local-lvm -qm set "$VM_ID" --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-"$VM_ID"-disk-0 -qm set "$VM_ID" --ide2 local-lvm:cloudinit +qm importdisk "$VM_ID" noble-server-cloudimg-amd64.img rust +qm set "$VM_ID" --scsihw virtio-scsi-pci --scsi0 rust:vm-"$VM_ID"-disk-0 +qm set "$VM_ID" --ide2 rust:cloudinit qm set "$VM_ID" --boot c --bootdisk scsi0 qm set "$VM_ID" --serial0 socket --vga serial0 qm resize $VM_ID scsi0 "$DISK"G diff --git a/Ubuntu-LTS-Medium.sh b/Ubuntu-LTS-Medium.sh index 78bde50..bbc58f2 100644 --- a/Ubuntu-LTS-Medium.sh +++ b/Ubuntu-LTS-Medium.sh @@ -13,9 +13,9 @@ sh get-docker.sh" virt-customize -a noble-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" -qm importdisk "$VM_ID" noble-server-cloudimg-amd64.img local-lvm -qm set "$VM_ID" --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-"$VM_ID"-disk-0 -qm set "$VM_ID" --ide2 local-lvm:cloudinit +qm importdisk "$VM_ID" noble-server-cloudimg-amd64.img rust +qm set "$VM_ID" --scsihw virtio-scsi-pci --scsi0 rust:vm-"$VM_ID"-disk-0 +qm set "$VM_ID" --ide2 rust:cloudinit qm set "$VM_ID" --boot c --bootdisk scsi0 qm set "$VM_ID" --serial0 socket --vga serial0 qm resize $VM_ID scsi0 "$DISK"G diff --git a/Ubuntu-LTS-Small.sh b/Ubuntu-LTS-Small.sh index f2167f5..0cdf6e5 100644 --- a/Ubuntu-LTS-Small.sh +++ b/Ubuntu-LTS-Small.sh @@ -13,9 +13,9 @@ sh get-docker.sh" virt-customize -a noble-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" -qm importdisk "$VM_ID" noble-server-cloudimg-amd64.img local-lvm -qm set "$VM_ID" --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-"$VM_ID"-disk-0 -qm set "$VM_ID" --ide2 local-lvm:cloudinit +qm importdisk "$VM_ID" noble-server-cloudimg-amd64.img rust +qm set "$VM_ID" --scsihw virtio-scsi-pci --scsi0 rust:vm-"$VM_ID"-disk-0 +qm set "$VM_ID" --ide2 rust:cloudinit qm set "$VM_ID" --boot c --bootdisk scsi0 qm set "$VM_ID" --serial0 socket --vga serial0 qm resize $VM_ID scsi0 "$DISK"G diff --git a/all.sh b/all.sh index 9edda8b..ea8effc 100644 --- a/all.sh +++ b/all.sh @@ -1 +1 @@ -apt install -y libguestfs-tools && chmod +x Ubuntu-* && ./Ubuntu-22-04-LTS.sh && ./Ubuntu-LTS-Small.sh && ./Ubuntu-LTS-Medium.sh && ./Ubuntu-LTS-Large.sh +apt install -y libguestfs-tools && chmod +x Ubuntu-L* && ./Ubuntu-LTS-Small.sh && ./Ubuntu-LTS-Medium.sh && ./Ubuntu-LTS-Large.sh #&& ./Ubuntu-22-04-LTS.sh