Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 10-27-2010, 09:45 PM   #1
Registered: Aug 2010
Posts: 50

Rep: Reputation: 1
Question What is the standard steps in making Linux VM as template ?

Hi Everyone,

I'd like to create a VM template for Ubuntu Linux 10.04 LTS,

what I've done is:

1. install it w/o any software package.
2. configure the proxy
3. set IP to be DHCP
4. make standardize username
5. Install VMware tools

So in order to customize the new VM after it is deployed from the template, do i just initiate:

hostname NEW_NAME
2. make necessary changes in the IP address using
vi /etc/network/interfaces
sudo apt-get update
please let me know if I'm missing something here or this can be automated with better ways.


Old 10-28-2010, 04:29 AM   #2
Registered: Jan 2010
Location: Norway
Posts: 76

Rep: Reputation: 12
One more thing to think about is the mac-address of the virtual-nic. Otherwise all your vms will get the same dhcp-ip which could lead to temporary problems with several hosts and the same ip.
Not sure, but maybe ESX(i) already has a way of dealing with this problem when deploying templates.
1 members found this post helpful.
Old 10-28-2010, 04:52 AM   #3
Registered: Aug 2010
Posts: 50

Original Poster
Rep: Reputation: 1
thanks for the reply man, yes VMware ESXi can do that or it's already done it automatically.
Old 10-28-2010, 05:18 AM   #4
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
MAC addresses, SSH keys, FQDN, IP, user accounts and homedirs
2 members found this post helpful.
Old 11-04-2010, 08:22 AM   #5
Registered: Aug 2010
Posts: 50

Original Poster
Rep: Reputation: 1
and the /etc/hosts to rename the localhost entry.


linux, template, ubuntu, vmware

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: 5 steps to making your first KDE Python Plasmoid LXer Syndicated Linux News 0 07-03-2010 05:20 PM
from django.template import Template, gives output firedancer Linux - Newbie 0 11-30-2007 02:08 PM
Future of the Standard Template Library Ed_999 Programming 2 05-12-2006 12:38 PM
Standard Template Library Reference (std::string) lucky6969b Programming 3 03-15-2006 03:09 PM
Steps to making public webserver (need advice) Gates1026 Linux - Networking 1 04-01-2004 01:18 PM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 05:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration