virt-install errors with "Unknown argument" in RHEL 6

Solution Verified - Updated -

Issue

  • virt-install errors with "Unknown argument" like the example below:
[root@rhel tmp]# ./virt-install2.ksh 
ERROR    Unknown argument ' '
./virt-install.ksh: line 11: --extra-args=ks=http://192.168.1.xxx/rhel64/ks.cfg ksdevice=eth0 ip=192.168.1.xxx netmask 255.255.255.0 gateway=192.168.1.1

Environment

  • Red Hat Enterprise Linux (RHEL) 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In