mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-10-04 21:14:21 +00:00
t/cfg2cmd: mock iscsi initiator name
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> Acked-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
7b963e5762
commit
a774013569
@ -20,5 +20,5 @@
|
||||
-device 'usb-tablet,id=tablet,bus=uhci.0,port=1' \
|
||||
-device 'VGA,id=vga,bus=pci.0,addr=0x2' \
|
||||
-device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' \
|
||||
-iscsi 'initiator-name=iqn.1993-08.org.debian:01:a1d15f6610fd' \
|
||||
-iscsi 'initiator-name=iqn.1993-08.org.debian:01:aabbccddeeff' \
|
||||
-machine 'type=pc'
|
||||
|
@ -21,7 +21,7 @@
|
||||
-device 'usb-tablet,id=tablet,bus=uhci.0,port=1' \
|
||||
-device 'VGA,id=vga,bus=pci.0,addr=0x2' \
|
||||
-device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' \
|
||||
-iscsi 'initiator-name=iqn.1993-08.org.debian:01:a1d15f6610fd' \
|
||||
-iscsi 'initiator-name=iqn.1993-08.org.debian:01:aabbccddeeff' \
|
||||
-drive 'if=none,id=drive-ide2,media=cdrom,aio=threads' \
|
||||
-device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' \
|
||||
-device 'virtio-scsi-pci,id=scsihw0,bus=pci.0,addr=0x5' \
|
||||
|
@ -110,6 +110,9 @@ $qemu_server_module->mock(
|
||||
get_host_arch => sub() {
|
||||
return $current_test->{host_arch} // 'x86_64';
|
||||
},
|
||||
get_initiator_name => sub {
|
||||
return 'iqn.1993-08.org.debian:01:aabbccddeeff';
|
||||
}
|
||||
);
|
||||
|
||||
my $qemu_server_config;
|
||||
|
Loading…
Reference in New Issue
Block a user