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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content