Correzione immagine CentOS7, attivazione dischi SCSI su libvirt.
This commit is contained in:
parent
edefc22990
commit
0d24c69e32
@ -50,7 +50,7 @@ vm = lv.Domain(conf.name,
|
||||
) ],
|
||||
cloudinit = cloudinit.id,
|
||||
vcpu = conf.vcpu,
|
||||
disks = [ lv.DomainDiskArgs(volume_id = volume.id) ],
|
||||
disks = [ lv.DomainDiskArgs(volume_id = volume.id, scsi=True) ],
|
||||
memory = int(conf.ram),
|
||||
network_interfaces = [ lv.DomainNetworkInterfaceArgs(
|
||||
network_name = "default",
|
||||
|
@ -1,4 +1,4 @@
|
||||
buster: https://cloud.debian.org/images/cloud/buster-backports/latest/debian-10-backports-generic-amd64.qcow2
|
||||
bullseye: https://cloud.debian.org/images/cloud/bullseye-backports/latest/debian-11-backports-generic-amd64.qcow2
|
||||
bookworm: https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2
|
||||
centos7: https://cloud.centos.org/centos/7/images/CentOS-7-ppc64le-GenericCloud-2009.qcow2
|
||||
centos7: https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-2211.qcow2
|
||||
|
@ -37,7 +37,7 @@ vm = lv.Domain(conf.name,
|
||||
boot_devices=[lv.DomainBootDeviceArgs(devs=["hd", "cdrom"])],
|
||||
cloudinit=cloudinit.id,
|
||||
vcpu=conf.vcpu,
|
||||
disks=[lv.DomainDiskArgs(volume_id=volume.id)],
|
||||
disks=[lv.DomainDiskArgs(volume_id=volume.id, scsi=True)],
|
||||
memory=int(conf.ram),
|
||||
network_interfaces=[lv.DomainNetworkInterfaceArgs(
|
||||
network_name="default",
|
||||
|
@ -1,4 +1,4 @@
|
||||
buster: https://cloud.debian.org/images/cloud/buster-backports/latest/debian-10-backports-generic-amd64.qcow2
|
||||
bullseye: https://cloud.debian.org/images/cloud/bullseye-backports/latest/debian-11-backports-generic-amd64.qcow2
|
||||
bookworm: https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2
|
||||
centos7: https://cloud.centos.org/centos/7/images/CentOS-7-ppc64le-GenericCloud-2009.qcow2
|
||||
centos7: https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-2211.qcow2
|
||||
|
Loading…
Reference in New Issue
Block a user