Initial Commit
This commit is contained in:
parent
d6d8c42542
commit
f7d57a31bf
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user