[one-users] Specify IP:MAC from command line

Javier Fontan jfontan at opennebula.org
Tue Nov 5 08:33:58 PST 2013


In case you only have one NIC you can use:

$ onetemplate instantiate 0 --raw
"NIC=[IP=10.0.0.1,MAC=00:00:00:00:00:01,NETWORK=my_network]"

On Mon, Nov 4, 2013 at 4:52 PM, Mark Kusch <mark.kusch at silpion.de> wrote:
> |16:46:05| < kraM> Hi, what do I need to tell onetemplate instantiate when I want to force a MAC:IP pair from
>                    virtual network on the command line?
>
> # kraM
>
> --
> Mark Kusch
> Silpion IT-Solutions GmbH: Systems Engineer
>
> Tel.: +49 (40) 399976-51
> Fax.: +49 (40) 399976-40
> Mail: mark.kusch at silpion.de
>
> Firmensitz: Brandshofer Deich 48, 20539 Hamburg
> Geschäftsführer: Dipl.-Ing. (FH) Patrick Postel
> Registergericht: Amtsgericht Hamburg HRB 78585
> Finanzbehörde: Hamburg
> USt.-Ident.-Nr.: DE213610768
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Javier Fontán Muiños
Developer
OpenNebula - The Open Source Toolkit for Data Center Virtualization
www.OpenNebula.org | @OpenNebula | github.com/jfontan



More information about the Users mailing list