Initial Commit

This commit is contained in:
Sthope 2023-07-26 03:42:32 +02:00
parent d6d8c42542
commit f7d57a31bf
2 changed files with 4 additions and 2 deletions

View File

@ -8,7 +8,8 @@
#
clear
# Ubuntu Server 22.04 (jammy)
# Debian 12 (bookworm))
distro_url="https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2"
filename="proxmox_cloudinit"
@ -18,7 +19,7 @@ file="$filename.${file##*.}"
NEXTID=$(pvesh get /cluster/nextid)
vm_id=$NEXTID
vm_name="Ubuntu"
vm_name="Debian"
qm create $vm_id --name $vm_name --net0 virtio,bridge=vmbr0 >/dev/null
qm importdisk $vm_id $file local-lvm >/dev/null

View File

@ -8,6 +8,7 @@
#
clear
# Ubuntu Server 22.04 (jammy)
distro_url="https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
filename="proxmox_cloudinit"