[one-users] Hostname missing from context

Sander Klein roedie at roedie.nl
Tue Aug 19 02:51:58 PDT 2014


Hi,

When I create a VM with OpenNebula the VM does not get the correct 
hostname.

I can't seem to figure out why, but it is missing from my context 
settings. When I look in context.sh I see:

# Context variables generated by OpenNebula
DISK_ID='1'
ETH0_DNS='8.8.8.8 '
ETH0_GATEWAY='192.168.3.1'
ETH0_IP='192.168.3.202'
ETH0_MAC='02:00:c0:a8:03:ca'
ETH0_MASK='255.255.255.0'
ETH0_NETWORK='192.168.3.0'
NETWORK='YES'
SSH_PUBLIC_KEY='ssh-rsa [...] sander at gallumbits
'
TARGET='hda'

I expected that OpenNebula would add the vm-name as hostname. Am I 
wrong?

Greets,

Sander


More information about the Users mailing list