mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-17 09:46:08 +08:00
Pre-provisioning: Install qemu-guest-agent on Linux distros
It helps to monitor the IP address assigned by DHCP from they hypervisor. Task-number: QTQAINFRA-6610 Change-Id: I51c85b341b039a0625e0362f018c547127083dcc Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
This commit is contained in:
@@ -42,6 +42,8 @@ su
|
||||
echo "add_drivers+=\"virtio-blk\"" >> /etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
yum -y install qemu-guest-agent
|
||||
|
||||
# Fetch and run coin-setup
|
||||
Download http://coin/coin/binary/linux_amd64/coin-setup
|
||||
run './coin-setup'
|
||||
|
||||
@@ -46,6 +46,8 @@ su
|
||||
echo "add_drivers+=\" virtio-blk \"" >> /etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
yum -y install qemu-guest-agent
|
||||
|
||||
# Do these from Opennebula UI!
|
||||
|
||||
# Enable network connection from right upper corner
|
||||
|
||||
@@ -41,6 +41,8 @@ su
|
||||
echo "add_drivers+=\"virtio-blk\"" >> /etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
yum -y install qemu-guest-agent
|
||||
|
||||
# Fetch and run coin-setup
|
||||
Download http://coin/coin/binary/linux_amd64/coin-setup
|
||||
run './coin-setup'
|
||||
|
||||
@@ -52,6 +52,8 @@ su
|
||||
echo "add_drivers+=\"virtio-blk\"" >> /etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
yum -y install qemu-guest-agent
|
||||
|
||||
# Enable network connection from right upper corner
|
||||
|
||||
# Fetch and run coin-setup
|
||||
|
||||
@@ -46,13 +46,15 @@ su
|
||||
echo "add_drivers+=\"virtio-blk\"" >> /etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
yum -y install qemu-guest-agent
|
||||
|
||||
# Do these from Opennebula UI!
|
||||
|
||||
# Enable network connection from right upper corner
|
||||
|
||||
Devices:
|
||||
* Displays: Resolution 1280 x 800
|
||||
|
||||
|
||||
# Fetch and run coin-setup
|
||||
Download http://coin/coin/binary/linux_amd64/coin-setup
|
||||
# run as qt user
|
||||
|
||||
@@ -46,6 +46,8 @@ su
|
||||
echo "add_drivers+=\" virtio-blk \"" >> /etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
yum -y install qemu-guest-agent
|
||||
|
||||
# Do these from Opennebula UI!
|
||||
|
||||
# Enable network connection from right upper corner
|
||||
|
||||
@@ -42,6 +42,8 @@ su
|
||||
echo "add_drivers+=\" virtio-blk \"" >> /etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
yum -y install qemu-guest-agent
|
||||
|
||||
# Enable network connection from right upper corner
|
||||
|
||||
# Fetch and run coin-setup
|
||||
|
||||
@@ -42,6 +42,8 @@ su
|
||||
echo "add_drivers+=\" virtio-blk \"" >> /etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
yum -y install qemu-guest-agent
|
||||
|
||||
# Do these from Opennebula UI!
|
||||
|
||||
# Enable network connection from right upper corner
|
||||
|
||||
@@ -38,6 +38,9 @@ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
|
||||
su
|
||||
echo "add_drivers+=\" virtio-blk \"" >> /etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
yum -y install qemu-guest-agent
|
||||
|
||||
# Do these from Opennebula UI!
|
||||
|
||||
# Enable network connection from right upper corner
|
||||
|
||||
@@ -37,6 +37,8 @@ sudo ./coin-setup
|
||||
sudo echo "add_drivers+=\"virtio-blk\"" >> /etc/dracut.conf.d/virtio.conf
|
||||
sudo dracut -f
|
||||
|
||||
sudo zypper -nq install qemu-guest-agent
|
||||
|
||||
# Add these to '/etc/polkit-default-privs.local'
|
||||
org.freedesktop.udisks2.filesystem-mount yes
|
||||
org.freedesktop.udisks2.filesystem-mount-other-seat yes
|
||||
|
||||
@@ -31,6 +31,8 @@ sudo su -
|
||||
echo "add_drivers+=\"virtio-blk\"" >/etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
sudo zypper -nq install qemu-guest-agent
|
||||
|
||||
# Add these to /etc/polkit-default-privs.local
|
||||
org.freedesktop.udisks2.filesystem-mount yes
|
||||
org.freedesktop.udisks2.filesystem-mount-other-seat yes
|
||||
|
||||
@@ -35,6 +35,8 @@ sudo su -
|
||||
echo 'add_drivers+=" virtio-blk "' >/etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
sudo zypper -nq install qemu-guest-agent
|
||||
|
||||
# Add these to /etc/polkit-default-privs.local
|
||||
org.freedesktop.udisks2.filesystem-mount yes
|
||||
org.freedesktop.udisks2.filesystem-mount-other-seat yes
|
||||
|
||||
@@ -35,6 +35,8 @@ sudo su -
|
||||
echo 'add_drivers+=" virtio-blk "' >/etc/dracut.conf.d/virtio.conf
|
||||
dracut -f
|
||||
|
||||
sudo zypper -nq install qemu-guest-agent
|
||||
|
||||
# Disable coredump
|
||||
chkconfig kdump off
|
||||
echo 'Storage=none' >> /etc/systemd/coredump.conf.d/custom.conf
|
||||
|
||||
@@ -51,6 +51,8 @@ run 'sudo apt install openssh-server'
|
||||
# Disable firewall
|
||||
run 'sudo ufw disable'
|
||||
|
||||
run 'sudo apt install qemu-guest-agent'
|
||||
|
||||
# Fetch and run coin-setup (in Opennebula)
|
||||
Download http://coin/coin/binary/linux_amd64/coin-setup
|
||||
run './coin-setup'
|
||||
|
||||
@@ -51,6 +51,8 @@ run 'sudo apt install openssh-server'
|
||||
# Disable firewall
|
||||
run 'sudo ufw disable'
|
||||
|
||||
run 'sudo apt install qemu-guest-agent'
|
||||
|
||||
# Fetch and run coin-setup (in Opennebula)
|
||||
Download http://coin/coin/binary/linux_arm64/coin-setup
|
||||
run 'chmod +x ./coin-setup' to make it executable
|
||||
|
||||
@@ -51,6 +51,8 @@ run 'sudo apt install openssh-server'
|
||||
# Disable firewall
|
||||
run 'sudo ufw disable'
|
||||
|
||||
run 'sudo apt install qemu-guest-agent'
|
||||
|
||||
# Fetch and run coin-setup (in Opennebula)
|
||||
Download http://coin/coin/binary/linux_amd64/coin-setup
|
||||
run 'chmod +x ./coin-setup' to make it executable
|
||||
|
||||
@@ -40,3 +40,5 @@ Display and Monitor - Display Configuration - 1280x800
|
||||
Power Management: Screen Energy Saving - unselect
|
||||
|
||||
add 'qt ALL=NOPASSWD: ALL' to /etc/sudoers.d/qt
|
||||
|
||||
sudo zypper -nq install qemu-guest-agent
|
||||
|
||||
@@ -32,4 +32,6 @@ Power Management: Screen Energy Saving - unselect
|
||||
Suspend Session - unselect
|
||||
YaST - Hardware - Sound - Add Dummy soundcard
|
||||
|
||||
sudo zypper -nq install qemu-guest-agent
|
||||
|
||||
Reboot
|
||||
|
||||
@@ -36,4 +36,6 @@ Power Management: Screen Energy Saving - unselect
|
||||
Suspend Session - unselect
|
||||
YaST - Hardware - Sound - Add Dummy soundcard
|
||||
|
||||
sudo zypper -nq install qemu-guest-agent
|
||||
|
||||
Reboot
|
||||
|
||||
Reference in New Issue
Block a user