[one-users] Fail to create vm by mentioning passwd=P@$$w0rd in vm template

Mrt Raju mrtraju at gmail.com
Sun Sep 9 23:36:27 PDT 2012


Hi,
I was unable to launch new vm if i mention the value passwd=P@$$w0rd in vm
template.
my vm template is as below.

ARCH = x86_64
CONTEXT = [
        BROADCAST = "$NETWORK[BROADCAST, NETWORK_ID=\"0\"]",
        DNS = "$NETWORK[DNS, NETWORK_ID=\"0\"]",
        FILES= /var/lib/one/vm-templates/ONE-centos/centos-init.sh,
       * PASSWD= "P@$$w0rd",*
        GATEWAY= "$NETWORK[GATEWAY, NETWORK_ID=\"0\"]",
        HOSTNAME = $NAME-$VMID,
        IP_PUBLIC = "$NIC[IP, NETWORK_ID=\"0\"]",
        NETMASK = "$NETWORK[NETMASK, NETWORK_ID=\"0\"]",
        NETWORK = "$NETWORK[NETWORK, NETWORK_ID=\"0\"]"
        ]
CPU = 0
DISK = [
        IMAGE_ID= 9,
        TYPE=os ]
GRAPHICS=[
        LISTEN = 0.0.0.0,
        TYPE = vnc ]
MEMORY = 2048
NAME = TestVM-T-1
NIC = [
        NETWORK_ID = 0,
        IP = 10.4.104.91 ]
OS = [
        ARCH = x86_64,
        BOOT = hd ]
RAW = [
        TYPE = kvm ]
VCPU = 2

I mention the passwd="P at ssw0rd",vm launch will be success.
$$ is causing vm launch fail.

Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120910/ac9b3402/attachment.htm>


More information about the Users mailing list