cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohd Zainal Abidin Rabani" <>
Subject RE: Instnace Hostname issue
Date Tue, 05 Jul 2016 02:06:33 GMT

I'm try to do template from Centos 6.5. 

1. Create a VM.
2. Install VM using ISO.
3. Reboot VM after installation finish.
4. Login VM. Can ping other VM in ACS host.
5. Shutdown VM.
6. Create template A1 from ROOT disk of VM. Waiting until template available.
7. Create another VM using new template A1. Set hostname test-1.
8. Access VM (from template A1). Notice the hostname set early from ISO. Not the new hostname.

Before proceed to create new template, there are no hostname in /etc/hosts. Just localhost.localdomain.
I have following the URL to create template.

-----Original Message-----
From: Glenn Wagner [] 
Sent: Monday, July 4, 2016 4:42 PM
Subject: RE: Instnace Hostname issue


What OS are you using?
When your create the template from the ISO are you clearing the hostname and udev rules before
make a template from the VM also clear the /etc/hosts file so there is only localhost addresses

You can have a look at the following link

2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West, Cape Town  7130South Africa @shapeblue

-----Original Message-----
From: Mohd Zainal Abidin Rabani []
Sent: Friday, 01 July 2016 9:57 AM
Subject: Instnace Hostname issue



When creating instance, let's say I put test-vm.local. I create instance using template that
I make from iso installation. After vm running, when I goes into OS it did not set hostname
to test-vm.local. What do I need to fix to settle this issue?



View raw message