aboutsummaryrefslogtreecommitdiffstats
path: root/mcp
diff options
context:
space:
mode:
Diffstat (limited to 'mcp')
-rwxr-xr-xmcp/config/states/maas5
-rw-r--r--mcp/patches/0006-linux.network.interface-noifupdown-support.patch2
2 files changed, 4 insertions, 3 deletions
diff --git a/mcp/config/states/maas b/mcp/config/states/maas
index 7b3bb6433..e470cea80 100755
--- a/mcp/config/states/maas
+++ b/mcp/config/states/maas
@@ -41,8 +41,9 @@ salt -C 'mas01*' pillar.item\
# KVM, compute node prereqs (libvirt first), VCP deployment
salt -C '* and not cfg01* and not mas01*' saltutil.sync_all
-salt 'kvm*' pkg.install bridge-utils
-salt 'kvm*' cmd.run 'salt-call state.sls linux.network; reboot'
+salt -C 'kvm*' pkg.install bridge-utils
+salt -C 'kvm*' state.apply linux.network
+salt -C 'kvm*' system.reboot
wait_for "! salt '*' test.ping | fgrep -q 'Not connected'"
salt -C '* and not cfg01* and not mas01*' state.apply linux,ntp
diff --git a/mcp/patches/0006-linux.network.interface-noifupdown-support.patch b/mcp/patches/0006-linux.network.interface-noifupdown-support.patch
index f4b7de803..5d9ce7be5 100644
--- a/mcp/patches/0006-linux.network.interface-noifupdown-support.patch
+++ b/mcp/patches/0006-linux.network.interface-noifupdown-support.patch
@@ -20,7 +20,7 @@ index d3227ca..8a2243d 100644
'updelay',
'hashing-algorithm',
'hardware-dma-ring-rx',
-+ 'ifupdown',
++ 'noifupdown',
] %}
{% set network = salt['grains.filter_by']({