Thread: Does anyone have a winning formula for deploying 10.04 with vmbuilder?
i trying develop workflow deploying ubuntu 10.04 server virtual machines on esxi using vmbuilder. want automate as possible. things installing openssh-server, open-vm-tools, vmxnet3 network, paravirtual disk controller, etc etc. thought i'd ask here first before reinvent wheel.
openssh-server easy. open-vm-tools , open-vm-dkms install, not successfully, must use dpkg-reconfigure when machine boots work. have not yet figured out if hardware manipulation possible configure vmxnet3 nic , paravirtual scsi controller.
post configs!!
code:[default] arch = amd64 #part = vmbuilder.partition # haven't gotten work yet user = vmtest name = vmtest pass = vmtest hostname = vmtest tmpfs = - [ubuntu] mirror = http://10.0.0.116:9999/ubuntu security-mirror = http://10.0.0.116:9999/ubuntu suite = lucid flavour = virtual components = main, restricted, universe, multiverse addpkg = snmpd timezone = est ssh_user_key = .ssh/authorized_keys2 execscript = /home/admin/execscript.shcode:#!/bin/bash chroot $1 apt-get update chroot $1 apt-get dist-upgrade chroot $1 apt-get install -qqy --force-yes openssh-server chroot $1 apt-get install -qqy --force-yes --no-install-recommends linux-headers-virtual open-vm-dkms open-vm-tools # not working yet
i figured out how define hardware want. vmxnet3 nic , paravirtual scsi controller. however, not work unless first figure out how correctly install vmwaretools or open-vm-tools first.
either use --templates option or edit vmx template in /etc/vmbuilder/vmware so:
code:#ethernet0.virtualdev = "e1000" # comment out line ethernet0.virtualdev = "vmxnet3" # add linecode:#scsi0.virtualdev = "lsilogic" # comment out line scsi0.virtualdev = "pvscsi" # add line
Forum The Ubuntu Forum Community Ubuntu Specialised Support Virtualisation [ubuntu] Does anyone have a winning formula for deploying 10.04 with vmbuilder?
Ubuntu
Comments
Post a Comment