Qemu guest agent

From SME Server
Revision as of 04:47, 6 January 2021 by Unnilennium (talk | contribs)
Jump to navigation Jump to search

to get qemu agent running in your virtualized sme :


SME9

yum install qemu-guest-agent -y
cd /etc/rc.d/rc7.d/
ln -s /etc/rc.d/init.d/qemu-ga  S85qemu-ga
config set qemu-ga service status enabled access private
service qemu-ga start

SME10

yum install qemu-guest-agent -y 
config set qemu-guest-agent service status enabled access private
mkdir -p /usr/lib/systemd/system/qemu-guest-agent.service.d/
echo -e  "[Install]\nWantedBy=sme-server.target" > /usr/lib/systemd/system/qemu-guest-agent.service.d/50koozali.conf
/etc/e-smith/events/actions/systemd-default
systemctl daemon-reload
systemctl start qemu-guest-agent.service