Increase disk size
This commit is contained in:
parent
f539c5245c
commit
344975b69e
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ qm destroy ${VMID} || true
|
|||
qm create ${VMID} --name ${NAME} --memory 1024 --net0 virtio,bridge=${BRIDGE}
|
||||
qm importdisk ${VMID} ${NAME}.qcow2 ${STORAGE}
|
||||
qm set ${VMID} --scsihw virtio-scsi-pci --scsi0 ${STORAGE}:vm-${VMID}-disk-0,ssd=1,discard=on
|
||||
qm resize ${VMID} scsi0 16G
|
||||
qm set ${VMID} --ide2 ${STORAGE}:cloudinit
|
||||
qm set ${VMID} --boot c --bootdisk scsi0
|
||||
qm set ${VMID} --serial0 socket --vga serial0
|
||||
|
|
Loading…
Reference in a new issue