[one-users] VM instance gets default name even if NAME is specified
Hector Sanjuan
hsanjuan at opennebula.org
Tue Mar 13 03:28:23 PDT 2012
hi, did you try
onetemplate instantiate <template_id> -n <vm_name>
?
Hector
En Tue, 13 Mar 2012 09:31:21 +0100, Francesco Camisa
<francesco.camisa at policlinicosanmarco.it> escribió:
> Hi,
>
> I am running a test installation (opennebula 3.2.1) with the following
> configuration:
> - Front-End CentOS 6.2 x86_64, mysql backend;
> - 1 Host CentOS 6.2 x86_64 Virtualization drive KVM.
>
> Everything works ok except for a small yet annoying problem. I have
> created a VM template, and in it the NAME parameter is specified, but
> when the VM is instantiated it always defaults to "one-<ID>".
>
> I have read the documentation and in particular the Virtual Machine
> definition file but have not been able to figuring out what I am doing
> wrong.
>
> Any help would be appreciated.
>
> Thanks in advance
>
> Francesco
>
> Following is the template:
>
> DISK=[
> BUS=virtio,
> DRIVER=raw,
> IMAGE=kvm-centos-servizio,
> IMAGE_UNAME=oneadmin ]
> FEATURES=[
> ACPI=yes ]
> GRAPHICS=[
> LISTEN=0.0.0.0,
> TYPE=vnc ]
> INPUT=[
> BUS=usb,
> TYPE=tablet ]
> MEMORY=2048
> NAME=centos-servizio
> NIC=[
> BRIDGE=br0,
> MAC=52:54:00:b7:cd:86,
> MODEL=virtio ]
> OS=[
> ARCH=x86_64,
> BOOT=hd ]
> RAW=[
> TYPE=kvm ]
> TEMPLATE_ID=2
> VCPU=2
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
--
Hector Sanjuan
OpenNebula Developer
More information about the Users
mailing list