fixup
This commit is contained in:
parent
74412c51a4
commit
d3f35b4954
2 changed files with 4 additions and 4 deletions
|
|
@ -3,7 +3,7 @@
|
|||
set -e
|
||||
|
||||
CPUS=1
|
||||
MEMORY=512
|
||||
MEMORY=2048
|
||||
BRIDGE=vmbr0
|
||||
STORAGE=customer-disks
|
||||
OS_TYPE=l26
|
||||
|
|
@ -34,10 +34,10 @@ qm create "${ID}" \
|
|||
--ide2 ${STORAGE}:cloudinit
|
||||
|
||||
# import debian cloud image
|
||||
qm set ${ID} --virtio0 ${STORAGE}:0,import-from=${DISK_IMAGE}
|
||||
qm set ${ID} --virtio0 ${STORAGE}:0,import-from=${DISK_IMAGE},iothread=1,discard=on
|
||||
|
||||
# resize imported disk to 50GB
|
||||
qm disk resize ${ID} virtio0 50G
|
||||
|
||||
# change boot device to debian cloud image
|
||||
qm set ${ID} --boot order=virtio0
|
||||
qm set ${ID} --boot order=sata0\;virtio0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue