VMware Communities
badouglas11
Contributor
Contributor

Generating a Fedora VM - from a script

Hi.

A couple of years ago, started a project (thanks woodyZ) to build/generate a fedora/centos based VM using the CLI, as opposed to the VMPlayer GUI.

Unfortunately, the system crashed a while ago, losing the associated files I had. I've managed to put together most of what I remember, to get the base vmf, but I can't recall how to find the vmware-vix to get the correct vmrun.

Until I can get the vmrun working, I'm testing the auto generated vmf/process I created using the using VMPlayer/GUI.

The current test is running into an issue with the VMPlayer, in that the test is hanging and displaying::

The VM Player GUI displays:

     sd 2:0:0:0: [sda] Assuming driver cache: write through

     sd 2:0:0:0: [sda] Assuming driver cache: write through

     sd 2:0:0:0: [sda] Assuming driver cache: write through

I'm assuming that I should be able to point the VM Player app to the vmf file I created, and that it should correctly create a VM if I haven't screwed something up. Is this correct?

I'm also trying to figure out how to get the correct VIX to be able to run/create the VM

====================================================

The test createvm file is:

#!/bin/bash
#
# Name: createvm
# Author: --
# Modified:
#
# Notes:
#    -for some reason, the ks.cfg from vmware has "#%end" instead of "%end"
#        search/replace it
#

#
#build the application app
#-used in the mount/nfs section in the post part of the kickstart file
#

DIRa="/apps/vmware/mysql"
if [ ! -d "$DIRa" ]; then
  mkdir /apps/vmware/mysql
fi

#get the mysql dump of the clientside schema for the db/tbls
/bin/rm -f /apps/vmware/mysql/clientsideDB.sql
echo "use client_side_DB;" > /apps/vmware/mysql/clientsideDB.sql
echo "" >> /apps/vmware/mysql/clientsideDB.sql
echo "" >> /apps/vmware/mysql/clientsideDB.sql

mysqldump -utest -ptest -h192.168.1.45 client_side_DB >> /apps/vmware/mysql/clientsideDB.sql

#modify the sql file
sed -i '/SET /d' /apps/vmware/mysql/clientsideDB.sql
sed -i '/LOCK TABLES/d' /apps/vmware/mysql/clientsideDB.sql
sed -i '/40000 ALTER TABLE/d' /apps/vmware/mysql/clientsideDB.sql
sed -i '/40000 ALTER TABLE/d' /apps/vmware/mysql/clientsideDB.sql
sed -i 's/DISABLE KEYS \*\///g' /apps/vmware/mysql/clientsideDB.sql
sed -i '/ENABLE KEYS/d' /apps/vmware/mysql/clientsideDB.sql
tar -zcvf /apps/vmclient/vmMysqlDB.tar.gz /apps/vmware/mysql/clientsideDB.sql

tar -zcvf /apps/vmclient/vmClient.tar.gz /apps/hellaapp/

#setup the yumpost.sh
/bin/cp -f /apps/vmware/a1.sh /apps/vmclient/.
/bin/mv -f /apps/vmclient/a1.sh /apps/vmclient/yumpost.sh


DIR1="/apps/vmware/a1"
DIR2="/apps/vmware/vmf"
if [ ! -d "$DIR1" ]; then
  mkdir /apps/vmware/a1
fi
if [ ! -d "$DIR2" ]; then
  mkdir /apps/vmware/vmf

fi

echo
echo " Creating fed vm..."
/bin/rm -f /apps/vmware/vmf/*
#exit

#cd "/Virtual Machines/VMware Fusion/Test/Scripted"
#mkdir "CentOS 5.5"
cd /apps/vmware

#setup vmx file
#cat /apps/vmware/init.vmx > /apps/vmware/vmf/vmf.vmx

echo '.encoding = "UTF-8"' > /apps/vmware/vmf/vmf.vmx
echo 'config.version = "8"' >> /apps/vmware/vmf/vmf.vmx
echo 'virtualHW.version = "7"' >> /apps/vmware/vmf/vmf.vmx
echo 'scsi0.present = "TRUE"' >> /apps/vmware/vmf/vmf.vmx
echo 'scsi0.virtualDev = "lsilogic"' >> /apps/vmware/vmf/vmf.vmx
echo 'memsize = "2048"' >> /apps/vmware/vmf/vmf.vmx
echo 'scsi0:0.present = "TRUE"' >> /apps/vmware/vmf/vmf.vmx
echo 'scsi0:0.fileName = "vmf.vmdk"' >> /apps/vmware/vmf/vmf.vmx
echo 'ide0:0.present = "TRUE"' >> /apps/vmware/vmf/vmf.vmx
echo 'ide0:0.fileName = "/apps/vmware/vmf/autoinst.iso"' >> /apps/vmware/vmf/vmf.vmx
echo 'ide0:0.deviceType = "cdrom-image"' >> /apps/vmware/vmf/vmf.vmx
echo 'ide1:0.present = "TRUE"' >> /apps/vmware/vmf/vmf.vmx
echo 'ide1:0.fileName = "/rpm/Fedora-13-i386-DVD.iso"' >> /apps/vmware/vmf/vmf.vmx
echo 'ide1:0.deviceType = "cdrom-image"' >> /apps/vmware/vmf/vmf.vmx
echo 'ethernet0.present = "TRUE"' >> /apps/vmware/vmf/vmf.vmx
echo 'ethernet0.connectionType = "nat"' >> /apps/vmware/vmf/vmf.vmx
echo 'ethernet0.wakeOnPcktRcv = "FALSE"' >> /apps/vmware/vmf/vmf.vmx
echo 'ethernet0.addressType = "generated"' >> /apps/vmware/vmf/vmf.vmx
echo 'ethernet0.linkStatePropagation.enable = "TRUE"' >> /apps/vmware/vmf/vmf.vmx
echo 'usb.present = "TRUE"' >> /apps/vmware/vmf/vmf.vmx
echo 'ehci.present = "TRUE"' >> /apps/vmware/vmf/vmf.vmx
echo 'serial0.present = "TRUE"' >> /apps/vmware/vmf/vmf.vmx
echo 'serial0.fileType = "thinprint"' >> /apps/vmware/vmf/vmf.vmx
echo 'pciBridge0.present = "TRUE"' >> /apps/vmware/vmf/vmf.vmx
echo 'pciBridge4.present = "TRUE"' >> /apps/vmware/vmf/vmf.vmx
echo 'pciBridge4.virtualDev = "pcieRootPort"' >> /apps/vmware/vmf/vmf.vmx
echo 'pciBridge4.functions = "8"' >> /apps/vmware/vmf/vmf.vmx
echo 'pciBridge5.present = "TRUE"' >> /apps/vmware/vmf/vmf.vmx
echo 'pciBridge5.virtualDev = "pcieRootPort"' >> /apps/vmware/vmf/vmf.vmx
echo 'pciBridge5.functions = "8"' >> /apps/vmware/vmf/vmf.vmx
echo 'pciBridge6.present = "TRUE"' >> /apps/vmware/vmf/vmf.vmx
echo 'pciBridge6.virtualDev = "pcieRootPort"' >> /apps/vmware/vmf/vmf.vmx
echo 'pciBridge6.functions = "8"' >> /apps/vmware/vmf/vmf.vmx
echo 'pciBridge7.present = "TRUE"' >> /apps/vmware/vmf/vmf.vmx
echo 'pciBridge7.virtualDev = "pcieRootPort"' >> /apps/vmware/vmf/vmf.vmx
echo 'pciBridge7.functions = "8"' >> /apps/vmware/vmf/vmf.vmx
echo 'vmci0.present = "TRUE"' >> /apps/vmware/vmf/vmf.vmx
echo 'isolation.tools.hgfs.disable = "FALSE"' >> /apps/vmware/vmf/vmf.vmx
echo 'roamingVM.exitBehavior = "go"' >> /apps/vmware/vmf/vmf.vmx
echo 'tools.syncTime = "TRUE"' >> /apps/vmware/vmf/vmf.vmx
echo 'displayName = "FTest"' >> /apps/vmware/vmf/vmf.vmx
echo 'guestOS = "fedora"' >> /apps/vmware/vmf/vmf.vmx
echo 'nvram = "vmf.nvram"' >> /apps/vmware/vmf/vmf.vmx
echo 'virtualHW.productCompatibility = "hosted"' >> /apps/vmware/vmf/vmf.vmx
echo 'printers.enabled = "TRUE"' >> /apps/vmware/vmf/vmf.vmx
echo 'proxyApps.publishToHost = "FALSE"' >> /apps/vmware/vmf/vmf.vmx
echo 'tools.upgrade.policy = "upgradeAtPowerCycle"' >> /apps/vmware/vmf/vmf.vmx
echo 'powerType.powerOff = "soft"' >> /apps/vmware/vmf/vmf.vmx
echo 'powerType.powerOn = "soft"' >> /apps/vmware/vmf/vmf.vmx
echo 'powerType.suspend = "soft"' >> /apps/vmware/vmf/vmf.vmx
echo 'powerType.reset = "soft"' >> /apps/vmware/vmf/vmf.vmx
echo 'floppy0.present = "FALSE"' >> /apps/vmware/vmf/vmf.vmx
echo 'extendedConfigFile = "vmf.vmxf"' >> /apps/vmware/vmf/vmf.vmx
echo 'msg.autoAnswer = "TRUE"' >> /apps/vmware/vmf/vmf.vmx

echo "test1111 \n"
# mount the autoinst.iso
/bin/rm -f /apps/vmware/a1/autoinstA.iso

umount /mnt/vmtest
mount -o loop  /apps/vmware/master.iso /mnt/vmtest
#cpy the mounted VM iso to the /apps/vmtest/vm
/bin/rm -rf /apps/vmtest/vm/*
/bin/cp -Rf /mnt/vmtest/* /apps/vmtest/vm/.
chmod -R 777 /apps/vmtest/vm

echo "test2222 \n"

#
# go ahead and edit the ks.cfg, and copy it
#
sed -i 's/^\#%end/%end/g' /apps/vmtest/vm/ks.cfg

#exit

#edit the kickstart cfg file - passwd - vmware
sed -i '/^EOF/q' /apps/vmtest/vm/ks.cfg
sed -i 's/^part \/boot --size.*/part \/boot --size 200/' /apps/vmtest/vm/ks.cfg
sed -i 's/^telinit.*/telinit 0/' /apps/vmtest/vm/ks.cfg
#sed -i 's/^rootpw.*/rootpw --iscrypted \$1\$JCZKA\/by\$bgc.Q7aGFdSTUvo2neZc60/' /apps/vmtest/vm/ks.cfg
sed -i 's/^rootpw.*/rootpw --iscrypted \$1\$JCZKA\/by\$sVSHffsPr3ZDUp6m7c5gt1/' /apps/vmtest/vm/ks.cfg

# remember to escape the "$" . \$ in the echo
#vmtest1/vmroot1
#test:$1$QcRcMih7$VG3upQam.lF4BFzVtaYU5.
#test1:$1$LMyHixbC$4.aATdKUb2eH8cCXtgFNM0

echo "/usr/sbin/adduser test" >> /apps/vmtest/vm/ks.cfg
echo "/usr/sbin/usermod -p '\$1\$QcRcMih7\$VG3upQam.lF4BFzVtaYU5.' test" >> /apps/vmtest/vm/ks.cfg
echo "/usr/sbin/adduser test1" >> /apps/vmtest/vm/ks.cfg
echo "/usr/sbin/usermod -p '\$1\$LMyHixbC\$4.aATdKUb2eH8cCXtgFNM0' test1" >> /apps/vmtest/vm/ks.cfg
echo "/usr/bin/chfn -f 'ruser' root " >> /apps/vmtest/vm/ks.cfg

echo "test3333 \n"

#-mod the group/package list
#-groups
sed -i 's/^%end/-\@ Arabic Support\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Armenian Support\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Bhutanese Support\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Chinese Support\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Ethiopic Support\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Games and Entertainment\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Georgian Support\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Graphical Internet\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Hebrew Support\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Inuktitut Support\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Japanese Support\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Khmer Support\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Konkani Support\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Korean Support\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Lao Support\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Myanmar (Burmese) Support\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Office\/Productivity\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Russian Support\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Tajik Support\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Text-based Internet\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-\@ Venda Support\n%end/' /apps/vmtest/vm/ks.cfg
#-packages
sed -i 's/^%end/-abrt\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-AdobeReader_enu\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-adobe-release\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-alsa-firmware\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-b43-fwcutter\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-BackupPC\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-bittorrent\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-brasero\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-broadcom-wl\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-cheese\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-ddclient\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-eclipse\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-evince\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-evolution\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-firefox\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-ftp\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-gimp\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-google-talkplugin\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-ImageMagick\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-lucene\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-lucene-contrib\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-opera\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/-pulseaudio\n%end/' /apps/vmtest/vm/ks.cfg
sed -i 's/^%end/ php\n%end/' /apps/vmtest/vm/ks.cfg
#sed -i 's/^%end/-foo\n%end/' /apps/vmtest/vm/ks.cfg

#
## setup to use a 6G drive for fedora
#    -in all honesty, need/should get this down to
#     a 3-5G drive, with the OS/apps...
#    -determine the correct OS, determine the required OS apps..
#    -this uses fedora13/6G drive setup
#
#
#sed -i 's/size 1000/size 500/' /apps/vmtest/vm/ks.cfg
#sed -i 's/size 3000/size 2000/' /apps/vmtest/vm/ks.cfg
sed -i 's/maxsize 4000/maxsize 3000/' /apps/vmtest/vm/ks.cfg
sed -i 's/size 1000 --grow/size 500 --grow/' /apps/vmtest/vm/ks.cfg
##part /home --size 1000 --grow
##part / --size 3000 --grow --maxsize 4000
##part /home --size 1000 --grow

#
# setup to deal with removing garbage from the fedora install
#
echo " "  >> /apps/vmtest/vm/ks.cfg
#cat /apps/vmware/yumpost.sh  >> /apps/vmtest/vm/ks.cfg
echo " "  >> /apps/vmtest/vm/ks.cfg

echo "test4444 \n"

#
#add the following mount stuff to the kickstart file
#-create the mount process on the vmclient side
#-get the application tar/gz file
#-do the mount/copy the file/untar the file
#
echo "mkdir /tmp/vmclient"  >> /apps/vmtest/vm/ks.cfg
echo "mkdir /vmclient"  >> /apps/vmtest/vm/ks.cfg
echo "mount 192.168.12.1:/apps/vmclient/ /tmp/vmclient"  >> /apps/vmtest/vm/ks.cfg

#cp /vmclient/vmClient.tar.gz /tmp/vmclient
echo "tar -zxvf /tmp/vmclient/vmClient.tar.gz -C /vmclient"  >> /apps/vmtest/vm/ks.cfg

#setup/cp the yumpost.sh script
echo "/bin/cp -f /tmp/vmclient/yumpost.sh /yumpost.sh" >>  /apps/vmtest/vm/ks.cfg
echo "chmod +x /yumpost.sh" >>  /apps/vmtest/vm/ks.cfg
echo "./yumpost.sh" >>  /apps/vmtest/vm/ks.cfg
echo " " >>  /apps/vmtest/vm/ks.cfg

echo "umount /tmp/vmclient"  >> /apps/vmtest/vm/ks.cfg

echo "test5555 \n"

#
# setup to deal with adding/handling additional python related items
#
##cat /apps/vmware/pythonpost.sh  >> /apps/vmtest/vm/ks.cfg
echo "%end " >> /apps/vmtest/vm/ks.cfg

#exit

cd /apps/vmtest/vm
/bin/rm -f /apps/vmware/a1/autoinstA.iso
cp ks.cfg isolinux/.
/usr/lib/vmware/bin/mkisofs -o '/apps/vmware/a1/autoinstA.iso' -b 'isolinux.bin' -c 'boot.cat' -no-emul-boot  -boot-load-size 4 -boot-info-table 'isolinux'

cd /apps/vmware

cp /apps/vmware/a1/autoinstA.iso /apps/vmware/vmf/autoinst.iso
##/usr/bin/vmware-vdiskmanager -c -s 20480MB -a lsilogic -t 0 /apps/vmware/vmf/vmf.vmdk > /dev/null 2>&1
##/usr/bin/vmware-vdiskmanager -c -s 10240MB -a lsilogic -t 0 /apps/vmware/vmf/vmf.vmdk > /dev/null 2>&1
/usr/bin/vmware-vdiskmanager -c -s 6144MB -a lsilogic -t 0 /apps/vmware/vmf/vmf.vmdk > /dev/null 2>&1
#/usr/bin/vmware-vdiskmanager -c -s 5120MB -a lsilogic -t 0 /apps/vmware/vmf/vmf.vmdk > /dev/null 2>&1
/usr/bin/vmrun -T player start  /apps/vmware/vmf/vmf.vmx
#/usr/bin/vmrun -T player start  /apps/vmware/vmf/vmf.vmx nogui > /dev/null 2>&1
echo
echo " Now installing CentOS 5.5..."
echo
echo " This Terminal may now be closed."
echo

exit

==========================================================================

The ks.cfg file is:

lang en_US
#langsupport --default en_US
network --bootproto dhcp
cdrom
keyboard us
zerombr yes
clearpart --all --initlabel
part /boot --size 200
part swap --recommended
part / --size 3000 --grow --maxsize 3000
part /home --size 500 --grow
install
#mouse generic3ps/2
firstboot --disable
firewall --enabled
timezone --utc America/Los_Angeles
xconfig --startxonboot --resolution=800x600
rootpw --iscrypted $1$JCZKA/by$sVSHffsPr3ZDUp6m7c5gt1
reboot
auth --useshadow --enablemd5
bootloader --location=mbr
#key --skip
%packages
python
@ X Window System
@ GNOME Desktop Environment
@ Graphical Internet
@ Development Tools
@ Fonts

-@ Arabic Support
-@ Armenian Support
-@ Bhutanese Support
-@ Chinese Support
-@ Ethiopic Support
-@ Games and Entertainment
-@ Georgian Support
-@ Graphical Internet
-@ Hebrew Support
-@ Inuktitut Support
-@ Japanese Support
-@ Khmer Support
-@ Konkani Support
-@ Korean Support
-@ Lao Support
-@ Myanmar (Burmese) Support
-@ Office/Productivity
-@ Russian Support
-@ Tajik Support
-@ Text-based Internet
-@ Venda Support
-abrt
-AdobeReader_enu
-adobe-release
-alsa-firmware
-b43-fwcutter
-BackupPC
-bittorrent
-brasero
-broadcom-wl
-cheese
-ddclient
-eclipse
-evince
-evolution
-firefox
-ftp
-gimp
-google-talkplugin
-ImageMagick
-lucene
-lucene-contrib
-opera
-pulseaudio
php
%end
%post
cp /boot/grub/menu.lst /boot/grub/grub.conf.bak
sed -i 's/ rhgb//' /boot/grub/grub.conf
cp /etc/rc.d/rc.local /etc/rc.local.backup
cat >>/etc/rc.d/rc.local <<EOF
echo
echo "Installing VMware Tools, please wait..."
if [ -x /usr/sbin/getenforce ]; then oldenforce=\$(/usr/sbin/getenforce); /usr/sbin/setenforce permissive || true; fi
mkdir -p /tmp/vmware-toolsmnt0
for i in hda sr0 scd0; do mount -t iso9660 /dev/\$i /tmp/vmware-toolsmnt0 && break; done
cp -a /tmp/vmware-toolsmnt0 /opt/vmware-tools-installer
chmod 755 /opt/vmware-tools-installer
cd /opt/vmware-tools-installer
mv upgra32 vmware-tools-upgrader-32
mv upgra64 vmware-tools-upgrader-64
mv upgrade.sh run_upgrader.sh
chmod +x /opt/vmware-tools-installer/*upgr*
umount /tmp/vmware-toolsmnt0
rmdir /tmp/vmware-toolsmnt0
if [ -x /usr/bin/rhgb-client ]; then /usr/bin/rhgb-client --quit; fi
cd /opt/vmware-tools-installer
./run_upgrader.sh
mv /etc/rc.local.backup /etc/rc.d/rc.local
rm -rf /opt/vmware-tools-installer
sed -i 's/3:initdefault/5:initdefault/' /etc/inittab
mv /boot/grub/grub.conf.bak /boot/grub/grub.conf
if [ -x /usr/sbin/getenforce ]; then /usr/sbin/setenforce \$oldenforce || true; fi
telinit 0
EOF
/usr/sbin/adduser test
/usr/sbin/usermod -p '$1$QcRcMih7$VG3upQam.lF4BFzVtaYU5.' test
/usr/sbin/adduser test1
/usr/sbin/usermod -p '$1$LMyHixbC$4.aATdKUb2eH8cCXtgFNM0' test1
/usr/bin/chfn -f 'ruser' root


mkdir /tmp/vmclient
mkdir /vmclient
mount 192.168.12.1:/apps/vmclient/ /tmp/vmclient
tar -zxvf /tmp/vmclient/vmClient.tar.gz -C /vmclient
/bin/cp -f /tmp/vmclient/yumpost.sh /yumpost.sh
chmod +x /yumpost.sh
./yumpost.sh

umount /tmp/vmclient
%end

==========================================

resulting vmf.vmx

.encoding = "UTF-8"
config.version = "8"
virtualHW.version = "7"
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
memsize = "2048"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "vmf.vmdk"
ide0:0.present = "TRUE"
ide0:0.fileName = "/apps/vmware/vmf/autoinst.iso"
ide0:0.deviceType = "cdrom-image"
ide1:0.present = "TRUE"
ide1:0.fileName = "/rpm/Fedora-13-i386-DVD.iso"
ide1:0.deviceType = "cdrom-image"
ethernet0.present = "TRUE"
ethernet0.connectionType = "nat"
ethernet0.wakeOnPcktRcv = "FALSE"
ethernet0.addressType = "generated"
ethernet0.linkStatePropagation.enable = "TRUE"
usb.present = "TRUE"
ehci.present = "TRUE"
serial0.present = "TRUE"
serial0.fileType = "thinprint"
pciBridge0.present = "TRUE"
pciBridge4.present = "TRUE"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "TRUE"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "TRUE"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "TRUE"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "TRUE"
isolation.tools.hgfs.disable = "FALSE"
roamingVM.exitBehavior = "go"
tools.syncTime = "TRUE"
displayName = "FTest"
guestOS = "fedora"
nvram = "vmf.nvram"
virtualHW.productCompatibility = "hosted"
printers.enabled = "TRUE"
proxyApps.publishToHost = "FALSE"
tools.upgrade.policy = "upgradeAtPowerCycle"
powerType.powerOff = "soft"
powerType.powerOn = "soft"
powerType.suspend = "soft"
powerType.reset = "soft"
floppy0.present = "FALSE"
extendedConfigFile = "vmf.vmxf"
msg.autoAnswer = "TRUE"
checkpoint.vmState = ""
ethernet0.generatedAddress = "00:0c:29:51:40:26"
vmci0.id = "22102054"
uuid.location = "56 4d d4 3b 67 f9 75 fc-25 73 44 08 01 51 40 26"
uuid.bios = "56 4d d4 3b 67 f9 75 fc-25 73 44 08 01 51 40 26"
cleanShutdown = "FALSE"
replay.supported = "FALSE"
replay.filename = ""
scsi0:0.redo = ""
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
scsi0.pciSlotNumber = "16"
usb.pciSlotNumber = "32"
ethernet0.pciSlotNumber = "33"
ehci.pciSlotNumber = "34"
vmci0.pciSlotNumber = "35"
ethernet0.generatedAddressOffset = "0"
vmotion.checkpointFBSize = "33554432"

Reply
0 Kudos
3 Replies
WoodyZ
Immortal
Immortal

badouglas11 wrote: but I can't recall how to find the vmware-vix to get the correct vmrun.

Have a look at: VIX API Documentation

badouglas11
Contributor
Contributor

Hey Woody.

Thanks for the link. But am I correct in thnking that the auto-generated process that I created should result in a VM (ks.cfg/.vmf) that should be able to be run by the VM Player, resulting in a valid VM for Fedora/Centos.

And if this is the case, then the fact that the VM Player is hanging would point to an issue.

Pointers are welcome!

Thanks

Reply
0 Kudos
badouglas11
Contributor
Contributor

Hi Woody.

Got it.

Thanks.

Reply
0 Kudos