VMware vSphere

 View Only
  • 1.  Linux Ubuntu - Templates???

    Posted Jul 01, 2010 10:25 AM

    Hi,

    I have a customer that wants to create a Linux Ubunto server, convert this to a template and then be able to deploy from the Template.

    Is this possible?

    I know with windows you need sysprep etc...

    Any help appreciated..



  • 2.  RE: Linux Ubuntu - Templates???

    Posted Jul 01, 2010 10:52 AM

    It's possible. Install Ubuntu Server, install everything you need (create accounts, install sshd, etc.) and don't forget to install VMware Tools for later customization.

    Power off the vm and convert it to a template.

    Now you're able to create vms from that template and to customize them during the deploy-process.



  • 3.  RE: Linux Ubuntu - Templates???

    Posted Jul 01, 2010 10:52 AM

    In general that is possible. I heard about tools you can use to personalize Linux boxes, but I have never searched for.

    After we deploay a Linux temaplet we do a manula customization It is easier as with windows as you have no SID and such stuff. We only need to change the name and IP setup.


    AWo

    VCP 3 & 4

    \[:o]===\[o:]

    =Would you like to have this posting as a ringtone on your cell phone?=

    =Send "Posting" to 911 for only $999999,99!=



  • 4.  RE: Linux Ubuntu - Templates???

    Posted Jul 01, 2010 10:56 AM

    Hi

    Beware of this though: http://communities.vmware.com/message/655026 - not sure if it is still an issue, but for my templates (ubuntu 9.04) it is.



  • 5.  RE: Linux Ubuntu - Templates???

    Posted Jul 01, 2010 11:01 AM

    Never had this issue with 8.04 LTS or 10.04 LTS now.



  • 6.  RE: Linux Ubuntu - Templates???

    Posted Jul 01, 2010 12:35 PM

    I'll confirm that this this is still an issue, with certain versions. I built a load balancer template based on Ubuntu JeOS 8.04 and all clones of that template have required that fix.

    From my own notes:

    Change the Hostname -

    A couple files need to be modified to reflect the desired hostname. Change the

    “pentemplate” entries in the hostname and hosts files, then activate the change:

    $ sudo su

    1. nano /etc/hostname

    1. nano /etc/hosts

    1. /etc/init.d/hostname.sh start

    1. exit

    $ logout

    Log back into the system and the hostname displayed should now be correct.

    Fix the Network -

    Modify the IP address of the system:

    $ sudo nano /etc/network/interfaces

    Delete the file causing network interface conflicts:

    $ sudo rm /etc/udev/rules.d/70-persistent-net.rules

    If you've installed MTA, it also needs to be fixed:

    $ sudo dpkg-reconfigure exim4-config

    Then reboot.