Lines Matching +full:pxe +full:- +full:test
3 # SPDX-License-Identifier: GPL-2.0-or-later
5 # Functional test that checks the pxelinux.cfg network booting of a s390x VM
6 # (TFTP booting without config file is already tested by the pxe qtest, so
32 '20201126T092837Z/dists/buster/main/installer-s390x/'
38 '20201126T092837Z/dists/buster/main/installer-s390x/'
44 '/fedora-secondary/releases/31/Server/s390x/os'
50 self.set_machine('s390-ccw-virtio')
68 with open(cfg_fname, 'w', encoding='utf-8') as f:
71 virtio_net_dev = 'virtio-net-ccw,netdev=n1,bootindex=1'
75 self.vm.add_args('-m', '384',
76 '-netdev', f'user,id=n1,tftp={tftpdir}',
77 '-device', virtio_net_dev)
92 self.pxelinux_launch(pl_name='01-02-ca-fe-ba-be-42',
94 wait_for_console_pattern(self, 'Linux version 5.3.7-301.fc31.s390x')
97 # Also add a non-bootable disk to check the fallback to network boot:
98 self.vm.add_args('-blockdev', 'null-co,size=65536,node-name=d1',
99 '-device', 'virtio-blk,drive=d1,bootindex=0,loadparm=1',
100 '-uuid', '550e8400-e29b-11d4-a716-446655441234')
101 self.pxelinux_launch(pl_name='550e8400-e29b-11d4-a716-446655441234')
102 wait_for_console_pattern(self, 'Debian 4.19.146-1 (2020-09-17)')
105 self.vm.add_args('-M', 'loadparm=3')
107 wait_for_console_pattern(self, 'Linux version 5.3.7-301.fc31.s390x')
110 self.vm.add_args('-boot', 'menu=on,splash-time=10')
115 wait_for_console_pattern(self, 'Debian 4.19.146-1 (2020-09-17)')