9eba5c083725e64b0ef5c76a5d33763cb28dfdce
[fuel.git] / mcp / config / states / dpdk
1 #!/bin/bash
2 set -x
3
4 salt -I 'nova:compute' system.reboot
5 while true; do salt -I 'nova:compute' test.ping | grep -Fq 'Not connected' || break; done
6 salt -I 'nova:compute' state.sls linux.network
7
8 # switch to UCA repos since fuel-infra packages have bugs
9 salt -I 'nova:compute' cmd.run 'rm -vrf /etc/apt/preferences.d/*'
10 salt -I 'nova:compute' file.remove '/etc/apt/sources.list.d/mirantis_openstack.list'
11 salt -I 'nova:compute' pkg.refresh_db
12
13 salt -I 'nova:compute' pkg.install libvirt-bin
14 salt -I 'nova:compute' file.chown /var/run/openvswitch libvirt-qemu kvm