...
Code Block |
---|
apt-get install open-vm-tools linux-source apt-show-versions vim module-assistant |
Build packages
Inside each chroot, run the script build.vmwaremodules.sh
. This will yield a deb file for each arch, flavor and version.
This can quickly add up to a lot of debs, because you will have (archs x flavors x versions) debs.
For instance:
( (i386 + amd64) + (generic + server) + (14 + 15 + 18 + 20) ) = 2 x 2 4 = 16 debs.
Upload packages
Upload the debs to outkast.tienhuis.nl.
The i386 ones go to /pub/www/www.tienhuis.nl/ubuntu/dists/karmic/restricted/binary-i386
, the amd64 ones go to /pub/www/www.tienhuis.nl/ubuntu/dists/karmic/restricted/binary-amd64
.
Then cd to /home/dick/scripts/apt-repos
and run the script gen_repos.sh
. This will update the repository
Client configuration
After installing a karmic host, configure it to use the repository by creating a file /etc/apt/sources.list.d/tienhuis.list
with this content:
Code Block |
---|
deb http://www.tienhuis.nl/ubuntu karmic main universe multiverse restricted
|
Now add the GPG key so that the repository is trusted:
Code Block |
---|
wget http://www.tienhuis.nl/ubuntu/gpg.key.asc -O - | apt-key add -
|
Now you can install the vmware modules:
Code Block |
---|
apt-get install open-vm-modules-`uname -r`
|
TODO: try exactly these steps