Centos7模板的vmtools问题

Reading time ~1 minute

Centos7模板的vmtools问题

Centos7由于自身问题,不能直接使用vmtools安装包

安装open-vm-tools

1
yum install open-vm-tools

1
http://packages.vmware.com/tools/keys
下载
1
VMware Packaging Public Keys

import pub key

1
2
rpm -import /tmp/VMWARE-PACKAGING-GPG-DSA-KEY.pub
rpm -import /tmp/VMWARE-PACKAGING-GPG-RSA-KEY.pub

编辑 /etc/yum.repos.d/vmware-tools.repo

1
2
3
4
5
[vmware-tools]
name = VMware Tools
baseurl = http://packages.vmware.com/packages/rhel7/x86_64/
enabled = 1
gpgcheck = 1

安装open-vm-tools-deploypkg

1
2
yum install open-vm-tools-deploypkg
systemctl restart vmtoolsd

###修改系统版本信息

1
rm -f /etc/redhat-release && touch /etc/redhat-release && echo "Red Hat Enterprise Linux Server release 7.0 (Maipo)" > /etc/redhat-release

Puppet证书过期处理

Published on November 12, 2018

沪牌拍牌有多难

Published on March 12, 2018