[one-users] Cannot log in to Ubuntu 12.04 image on Marketplace

Mark Farragher mark at firstfocus.eu
Mon Apr 1 05:24:36 PDT 2013


Hi,

I'm trying to log in to this virtual machine that I downloaded from the marketplace:

	https://marketplace.c12g.com/appliance/4fc76a938fb81d3517000001

Contextualisation of the network works fine, after instantiating the virtual machine I see it appearing on IP address 10.0.0.13. But no matter what I try, I cannot log in. 

Can someone explain to me exactly what I need to do to set up a user account in this virtual machine (or even just to be able to log in?).  I understand that I need to configure the SSH_PUBLIC_KEY parameter in the contextualisation section, but I do not understand which key I need to put in there. I used the public key of my "kvmuser" account on the host, but I am unable to SSH into the virtual machine with this user; it keeps asking for a password. 

I also see that there is a parameter called "USERNAME" but I do not understand how I can configure the password for this user during contextualisation. Logging in with a blank password does not work, and neither does the password as set on the host. 

I have the impression I'm not getting a crucial part of contextualisation. Can someone point me in the right direction? 


This is my VM template:

CONTEXT=[
 ETH0_DNS="$NETWORK[DNS, NETWORK=\"lan\"]",
 ETH0_GATEWAY="$NETWORK[GATEWAY, NETWORK=\"lan\"]",
 ETH0_IP="$NIC[IP, NETWORK=\"lan\"]",
 ETH0_MASK="$NETWORK[NETWORK_MASK, NETWORK=\"lan\"]",
 ETH0_NETWORK="$NETWORK[NETWORK_ADDRESS, NETWORK=\"lan\"]",
 HOSTNAME="vm$VMID",
 SSH_PUBLIC_KEY="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCgqWYN6yHZ+RedZ13IKCqxuN1WBSvtcZ7kI3FZuBQVIiF4jy3B5y5tL77k02L79izE00KmIPPTy6hvvJWTfD4qeaqyICJl2EFFAje0Ws898rbuxyLkLSd318L9lTAhdAiCw/7EDTaPzM5oGrxPzwdOoDCZPxHf9ry65NoN1N+wdxqlHv974PWgadqsRLVu05JB4qIBKTPxiF2B3maT6gjPjW44TUOKdDaMG1FQbcgbB/0MoajGNCsAw4Kliy11DK0laAb0FL30GOafOKNAlSoqY+WT+G1Iv2micS/J1xGn3NRWN+wzH/qmHVRX6BR5ByDLlAl0Y2P5l0cPJAKQBgp3 kvmuser at Pinky",
 USERNAME="kvmuser" ]

CPU="0.10"

DISK=[
 BUS="virtio",
 DEV_PREFIX="hd",
 IMAGE="Ubuntu Server 12.04 (Precise Pangolin) - kvm",
 TARGET="hda" ]

FEATURES=[
 ACPI="yes",
 APIC="yes",
 PAE="yes" ]

GRAPHICS=[
 LISTEN="localhost",
 PORT="5911",
 TYPE="vnc" ]

MEMORY="2000"
NAME="Ubuntu Server 12.04"

NIC=[
 BRIDGE="br0",
 IP="10.0.0.13",
 MAC="02:00:0a:00:00:0d",
 MODEL="virtio",
 NETWORK="virtual machine lan",
 NETWORK_ID="3",
 PHYDEV="eth1",
 VLAN="YES" ]

OS=[
 ARCH="x86_64",
 BOOT="hd" ]

RAW=[
 DATA="<devices><serial type=\"pty\"><source path=\"/dev/pts/5\"/><target 
port=\"0\"/></serial><console type=\"pty\" tty=\"/dev/pts/5\"><source 
path=\"/dev/pts/5\"/><target port=\"0\"/></console></devices>",
 TYPE="kvm" ]

TEMPLATE_ID="4"


Kind regards

Mark Farragher







More information about the Users mailing list