Coder Social home page Coder Social logo

Comments (11)

yuezh avatar yuezh commented on June 12, 2024

Would you please share the detail steps you do? Did you run "waagent -deprovision+user -force", before you capture the image?

from walinuxagent.

fbejarano avatar fbejarano commented on June 12, 2024

1: Only with
sudo apt-get update+ sudo apt-get dist-upgrade(install the waagent)+reboot and the hostname change to localhost when it init.

2: sudo apt-get update+ sudo apt-get dist-upgrade(install the waagent)+waagent -deprovision+shutdown vm+capture image+create new vm and the hostname change to localhost when it init.

from walinuxagent.

yuezh avatar yuezh commented on June 12, 2024

What command did you use to capture VM?

from walinuxagent.

fbejarano avatar fbejarano commented on June 12, 2024

azure vm capture -d [dns] -t [mv] capture_name-20140513-123900

from walinuxagent.

mmitche avatar mmitche commented on June 12, 2024

Are you still seeing this issue? I saw this after a package update (walinuxagent was updated) and reboot on 14.04.

from walinuxagent.

fbejarano avatar fbejarano commented on June 12, 2024

I have the same issue in ubuntu 14.04 with last version of wagent

from walinuxagent.

yuezh avatar yuezh commented on June 12, 2024

@fbejarano I couldn't repo this issue with official Ubuntu 14.04 image. What image are you using?
My steps are:

  1. Create a VM
  2. Run waagent -deprovision+user -force
  3. Run "azure vm capture -d [dns] -t [vm_name] [image_name]"
  4. Create a new vm

from walinuxagent.

mmitche avatar mmitche commented on June 12, 2024

@yuezh We occasionally see this with our images (which were stock Ubuntu). I have one that just repro'd it right now and can give you access.

from walinuxagent.

fbejarano avatar fbejarano commented on June 12, 2024

Some data

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:        14.04
Codename:       trusty

$ waagent -version
WALinuxAgent-2.0.14 running on Ubuntu

Original /etc/waagent.conf with 2 changes

# Monitor host name changes and publish changes via DHCP requests.
#Provisioning.MonitorHostName=n
Provisioning.MonitorHostName=y

# Format if unformatted. If 'n', resource disk will not be mounted.
#ResourceDisk.Format=n
ResourceDisk.Format=y

from walinuxagent.

ahmetb avatar ahmetb commented on June 12, 2024

@mmitche @fbejarano could you please try version 2.1.3 version of the Linux Agent and see if the behavior persists? Here's how you can update the agent: https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-update-agent/

from walinuxagent.

hglkrijger avatar hglkrijger commented on June 12, 2024

closing, due to lack of activity. please reopen if you still see this with the latest agent (currently 2.1.6).

from walinuxagent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.