vRA Customizing error

toolsDeployPkg.log

  An error occurred while customizing VM vwbjvuqtest0751. For details
  reference the log file /var/log/vmware-imc/toolsDeployPkg.log in the
  guest OS.
  error
  2017-05-25 17:45:54
  vwbjvuqtest0751
  User

log错误信息:

Package deploy failed in DeployPkg_DeployPackageFromFile

 

解决方法:

模板的问题,

# Run minimal install
# Reboot
# Re-insert installation ISO
mkdir -p /media/cdrom
mount /dev/cdrom /media/cdrom
cd /media/cdrom/Packages

cp /media/cdrom/media.repo /etc/yum.repos.d

vi media.repo: add ---- baseurl=file:///media/cdrom
# Install perl and all dependencies rpm
-Uvh perl-5.16.3-286.el7.x86_64.rpm perl-Carp-1.26-244.el7.noarch.rpm perl-Encode-2.51-7.el7.x86_64.rpm perl-Exporter-5.68-3.el7.noarch.rpm perl-File-Path-2.09-2.el7.noarch.rpm perl-File-Temp-0.23.01-3.el7.noarch.rpm perl-Filter-1.49-3.el7.x86_64.rpm perl-Getopt-Long-2.40-2.el7.noarch.rpm perl-HTTP-Tiny-0.033-3.el7.noarch.rpm perl-PathTools-3.40-5.el7.x86_64.rpm perl-Pod-Escapes-1.04-286.el7.noarch.rpm perl-Pod-Perldoc-3.20-4.el7.noarch.rpm perl-Pod-Simple-3.28-4.el7.noarch.rpm perl-Pod-Usage-1.63-3.el7.noarch.rpm perl-Scalar-List-Utils-1.27-248.el7.x86_64.rpm perl-Socket-2.010-3.el7.x86_64.rpm perl-Storable-2.45-3.el7.x86_64.rpm perl-Text-ParseWords-3.29-4.el7.noarch.rpm perl-Time-HiRes-1.9725-3.el7.x86_64.rpm perl-Time-Local-1.2300-2.el7.noarch.rpm perl-constant-1.27-2.el7.noarch.rpm perl-libs-5.16.3-286.el7.x86_64.rpm perl-macros-5.16.3-286.el7.x86_64.rpm perl-parent-0.225-244.el7.noarch.rpm perl-podlators-2.5.1-3.el7.noarch.rpm perl-threads-1.87-4.el7.x86_64.rpm perl-threads-shared-1.43-6.el7.x86_64.rpm # Install open-vm-tools and dependencies rpm -Uvh open-vm-tools-9.10.2-4.el7.x86_64.rpm libdnet-1.12-13.1.el7.x86_64.rpm libicu-50.1.2-15.el7.x86_64.rpm libmspack-0.5-0.4.alpha.el7.x86_64.rpm net-tools-2.0-0.17.20131004git.el7.x86_64.rpm cd umount /media/cdrom # vmtoolsd is enabled, but you can start it to verify that vCloud picks it up systemctl start vmtoolsd # stop the VM # customize via vCloud - I changed hostname and did a simple configuration script # that echos to a file to make sure things are working # vApps > Virtual Machines > Power On and Force Recustomization # log in and verify updated hostname, new file that was echoed, and possibly # new IP if you were set to DHCP

 

posted @ 2017-05-25 17:49  Vincen_shen  阅读(306)  评论(0编辑  收藏  举报