Comment 0 for bug 1763609

Revision history for this message
Frank Heimes (fheimes) wrote :

virt-install does not work on bionic and ends up with python error:
$ sudo virt-install -d --name ubu-test1 --vcpus 2 --memory 2048 --disk size=8,bus=virtio,format=qcow2 --boot cdrom,hd --network bridge=virbr0 --graphics none --console pty,target_type=sclp --location /var/lib/libvirt/images/bionic-server-s390x.iso --initrd-inject=/var/lib/libvirt/images/preseed.cfg --extra-args="locale=en_US auto=true priority=critical s390-netdevice/choose_networktype=virtio netcfg/use_autoconfig=true netcfg/disable_dhcp=false netcfg/get_hostname=ubu-test1 netcfg/get_domain=domain.com network-console/password=instpass network-console/start=true file=file:/preseed.cfg"
...
OSError: [Errno 2] No such file or directory

similar call and setup on artful works:
$ sudo virt-install -d --name ubu-test6 --vcpus 2 --memory 2048 --disk size=4,bus=virtio,format=qcow2,pool=images --boot cdrom,hd --network bridge=virbr0 --graphics none --console pty,target_type=sclp --location /var/lib/libvirt/images/ubuntu-17.10-server-s390x.iso --initrd-inject=/var/lib/libvirt/images/preseed.cfg --extra-args="locale=en_US auto=true priority=critical s390-netdevice/choose_networktype=virtio netcfg/use_autoconfig=true netcfg/disable_dhcp=false netcfg/get_hostname=ubu-test6 netcfg/get_domain=domain.com network-console/password=instpass network-console/start=true file=file:/preseed.cfg"

see output / log for more details