Comment 0 for bug 2073461

Revision history for this message
Olivier Gayot (ogayot) wrote : virt-install ignores --cloud-init when --location is present

To run automated Ubuntu server installations (autoinstall) using virt-install, we want to use a combination of:
 * --cloud-init user-data=$path_to_autoinstall
 * --extra-args autoinstall

Unfortunately, when --location is used, the --cloud-init option gets silently ignored. The --cloud-init option works with --cdrom but then --extra-args cannot be used.

There is an upstream bug report [1] with an open PR [2]:

[1] https://github.com/virt-manager/virt-manager/issues/469
[2] https://github.com/virt-manager/virt-manager/pull/485