support for installing open-vm-tools via execscript

Bug #615214 reported by Richie Simon
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
VMBuilder
New
Undecided
Unassigned

Bug Description

I am looking for a way to use vmbuilder to deploy Ubuntu 10.04 Server virtual machines with open-vm-tools. It installs without any errors but the modules do not load upon first boot. I'm sorry that I'm not much of a programmer so I can't offer any more information other than when using --debug the error "depmod....(bad exit status: 1)" comes up. Also important to know: because on the server edition of Ubuntu we must use the option "--no-install-recommends," we must specify the following in an --execscript rather than using addpkg, although I'm betting addpkg would work anyway.

"chroot $1 apt-get install -y --force-yes --no-install-recommends linux-headers-virtual open-vm-dkms open-vm-tools"

I am surprised that this has never been brought up before. As an ESXi admin, it seems that open-vm-tools and vmbuilder should go hand-in-hand.

It is important to mention that a "firstboot" script is not an option. This MUST be installed prior to the vm booting for the first time. Otherwise the disk controller driver module "vmw_pvscsi" will not load, or even for PXE booting the NIC driver module "vmxnet3" will not load, and the machine will not have a boot image to boot from.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.