[virt-tools-list] problem with virt-install --extra-args
Carl G. Riches
cgr at u.washington.edu
Tue May 28 17:37:45 UTC 2019
Not sure if this is the correct place to ask this question--let me know if
there's a better venue for this.
I'm trying to pass kickstart command-line arguments from virt-install via
--extra-args. It's not working. Here is the virt-install command I'm
using:
virt-install \
--name server1 \
--memory 2048 \
--vcpus 2 \
--os-variant "rhel7" \
--disk path=/dev/guest_images_lvm/fest \
--hvm \
--location "nfs:192.168.0.3:/mnt/TANK/software/CentOS/7/BaseInstall" \
--network bridge=br2 \
-nographics \
--extra-args="ks=nfs:192.168.0.3:/mnt/TANK/software/CentOS/7/BaseInstall/ks/ks.DC-VM ip=192.168.0.88::192.168.0.69:255.255.255.0:server1:eth0:none"
This fails with the error:
virt-install: error: unrecognized arguments:
ip=192.168.0.88::192.168.0.69:255.255.255.0:server:eth0:none"
I've tried searching the for this error message but can't find any
references. Can the --extra-args list have a space character in it? Is
that the problem here?
I'm using virt-install version 1.5.0 on CentOS Linux release 7.6.1810.
Thanks,
Carl
Carl G. Riches
IT Director
Department of Biostatistics
Box 357232 voice: 206-616-2725
University of Washington fax: 206-543-3286
Seattle, WA 98195-7232 internet: cgr at u.washington.edu
More information about the virt-tools-list
mailing list