LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-27-2010, 09:45 PM   #1
albertwt
Member
 
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:

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

Thanks,

AWT
 
Old 10-28-2010, 04:29 AM   #2
feinbein
Member
 
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
albertwt
Member
 
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
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 844

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

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


Reply

Tags
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


All times are GMT -5. The time now is 03:01 PM.

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