diff options
Diffstat (limited to 'mcp/config')
-rwxr-xr-x | mcp/config/states/dpdk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mcp/config/states/dpdk b/mcp/config/states/dpdk index 3e8b22345..8834d47c1 100755 --- a/mcp/config/states/dpdk +++ b/mcp/config/states/dpdk @@ -1,4 +1,6 @@ -salt -C 'I@nova:compute' system.reboot -salt -C 'I@nova:compute' test.ping +salt -I 'nova:compute' system.reboot +while true; do salt -I 'nova:compute' test.ping | fgrep -q 'Not connected' || break; done +salt -I 'nova:compute' state.sls linux.network.dpdk -salt -C 'I@nova:compute' state.sls linux +salt -I 'nova:compute' pkg.install libvirt-bin +salt -I 'nova:compute' file.chown /var/run/openvswitch libvirt-qemu kvm |