changed virtio to scsi disk
This commit is contained in:
@@ -34,8 +34,9 @@ source "proxmox-iso" "debian-12-bookworm-cloudinit-template" {
|
|||||||
disks {
|
disks {
|
||||||
disk_size = "8G"
|
disk_size = "8G"
|
||||||
format = "qcow2"
|
format = "qcow2"
|
||||||
|
ssd = true
|
||||||
storage_pool = "local"
|
storage_pool = "local"
|
||||||
type = "virtio"
|
type = "scsi"
|
||||||
}
|
}
|
||||||
|
|
||||||
network_adapters {
|
network_adapters {
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ d-i clock-setup/ntp boolean true
|
|||||||
# but otherwise the device name must be given in traditional, non-devfs
|
# but otherwise the device name must be given in traditional, non-devfs
|
||||||
# format (so e.g. /dev/sda and not e.g. /dev/discs/disc0/disc).
|
# format (so e.g. /dev/sda and not e.g. /dev/discs/disc0/disc).
|
||||||
# For example, to use the first SCSI/SATA hard disk:
|
# For example, to use the first SCSI/SATA hard disk:
|
||||||
d-i partman-auto/disk string /dev/vda
|
d-i partman-auto/disk string /dev/sda
|
||||||
|
|
||||||
# In addition, you'll need to specify the method to use.
|
# In addition, you'll need to specify the method to use.
|
||||||
# The presently available methods are:
|
# The presently available methods are:
|
||||||
@@ -145,7 +145,7 @@ d-i grub-installer/with_other_os boolean true
|
|||||||
|
|
||||||
# Due notably to potential USB sticks, the location of the MBR can not be
|
# Due notably to potential USB sticks, the location of the MBR can not be
|
||||||
# determined safely in general, so this needs to be specified:
|
# determined safely in general, so this needs to be specified:
|
||||||
d-i grub-installer/bootdev string /dev/vda
|
d-i grub-installer/bootdev string /dev/sda
|
||||||
# To install to the first device (assuming it is not a USB stick):
|
# To install to the first device (assuming it is not a USB stick):
|
||||||
#d-i grub-installer/bootdev string default
|
#d-i grub-installer/bootdev string default
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user