Thomas S Hatch wrote:
> I am trying to execute "cobbler system add" and define 2 nics at once, 
> but it is only creating the second nic, is it possible to create the 
> system in a single command like this?  Or do I have to execute a 
> "cobbler system edit" after the cobbler system add?
>
> Here is the command I am using:
> cobbler system add --interface=eth0 --mac=00:16:3e:17:dc:3f 
> --virt-bridge=br0 --interface=eth1 --mac=00:16:3e:31:37:52 
> --virt-bridge=br1 --dns-name='cdc.example.com 
> <http://cdc.example.com>' --hostname='cdc.example.com 
> <http://cdc.example.com>' --name='cdc' --ksmeta='cdc=1' 
> --profile='f10_base' --virt-cpus='2' --virt-row you am='4096' 
> --virt-file-size='50'
>
> -Tom Hatch
> ------------------------------------------------------------------------
>
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>   

You'd have to do this as one add (for the first instance) and edit 
second edit specifying the second interface.   If someone knows how to 
fix optparse usage so this is possible that would be good to have, right 
now you either have to do that or use the webapp.


_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to