Skip to main content

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.sh
code:
#!/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 line
code:
#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

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support