Hi,

onetemplate instantiate 0 \
  --raw 
"NIC=[MODEL=virtio,IP=192.168.198.45,NETWORK_UNAME=oneadmin,NETWORK=net-mms]" \
  --raw "DISK=[DISK_UNAME=oneadmin,IMAGE=disk-mms,CACHE=unsafe]"

results in

[TemplateInstantiate] Error allocating a new virtual machine. User 2 does not 
own a network with name: net-mms . Set NETWORK_UNAME or NETWORK_UID of owner in 
NIC.

Any further hints?

Is that supported to provide multiple --raw arguments? If that's not
the case, what would be the syntax for the command above?

Thanks a lot!,

# kraM

On 17:33 Tue 05 Nov, Javier Fontan wrote:
> 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 <[email protected]> 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: [email protected]
> >
> > 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
> > [email protected]
> > 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

-- 
Mark Kusch
Silpion IT-Solutions GmbH: Systems Engineer

Tel.: +49 (40) 399976-50
Fax.: +49 (40) 399976-40
Mail: [email protected]

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

Attachment: pgpZUaQbLek7I.pgp
Description: PGP signature

_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to