Public bug reported:

$ sudo hostname
sudo: unable to resolve host smfoo3
smfoo3

I think that this is because we've disabled MonitorHostName in
walinuxagent.

that code would actually:
 * get the hostname of the system
 * monitor every X seconds for changs in the output of 'hostname'
 * if achange was found, it would bounce the eth0 interface (ifdown eth0; ifup 
eth0) in order to have dhclient convey the hostname to the server.

the odd part of that is that the platform what *gave* us the hostname
(inside the ovf-env.xml).

it woudl seem like cloud-init should do something like that also.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: cloud-init 0.7.3~bzr829-0ubuntu1
ProcVersionSignature: User Name 3.10.0-3.12-generic 3.10.1
Uname: Linux 3.10.0-3-generic x86_64
ApportVersion: 2.11-0ubuntu1
Architecture: amd64
Date: Thu Jul 18 17:13:29 2013
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: cloud-init
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug saucy uec-images

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1202758

Title:
  hostname not resolvable on azure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1202758/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to