This is for CentOS 7 KVM only. On Centos 8 required modifications are applied by SolusVM installer automatically
RHEL disabled NTFS (windows) support in it's CentOS 7 libguestfs packages. We've rebuilt these packages to enable it again.
Disable the libguestfs package from the main CentOS base repo:
vi /etc/yum.repos.d/CentOS-Base.repo
Add exclude=libguestfs* perl-Sys-Guestfs* to each stanza like the example below:
# CentOS-Base.repo # # The mirror system uses the connecting IP address of the client and the # update status of each mirror to pick mirrors that are updated to and # geographically close to the client. You should use this for CentOS updates # unless you are manually picking other mirrors. # # If the mirrorlist= does not work for you, as a fall back you can try the # remarked out baseurl= line instead. # # [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 exclude=libguestfs* perl-Sys-Guestfs* #released updates [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 exclude=libguestfs* perl-Sys-Guestfs* #additional packages that may be useful [extras] name=CentOS-$releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 exclude=libguestfs* perl-Sys-Guestfs* #additional packages that extend functionality of existing packages [centosplus] name=CentOS-$releasever - Plus mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 exclude=libguestfs* perl-Sys-Guestfs*
Download our custom libguestfs repo:
wget http://libguestfs.solusvm.com/centos/libguestfs-plesk.repo -O /etc/yum.repos.d/libguestfs-plesk.repo
It should look like the one below:
# cat /etc/yum.repos.d/libguestfs-plesk.repo [libguestfs-plesk] name=Libguestfs-Plesk baseurl=http://libguestfs.solusvm.com/centos/$releasever/$basearch enabled=1 gpgcheck=0 [libguestfs-plesk-noarch] name=Libguestfs-Plesk-norarch baseurl=http://libguestfs.solusvm.com/centos/$releasever/noarch enabled=1 gpgcheck=0
Install or update to our packages:
yum remove libguestfs* yum install libguestfs*.plesk rpm -Uvh --force http://mirror.centos.org/centos/7/os/x86_64/Packages/libguestfs-winsupport-7.2-3.el7.x86_64.rpm
If there is still an issue with passwordreset function, follow the steps from the article Password reset does not work for Windows virtual servers on CentOS 7 KVM node to solve it