aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--resources/templates/vat/memif_create.vat2
-rw-r--r--resources/templates/vat/memif_create_lxc.vat4
2 files changed, 3 insertions, 3 deletions
diff --git a/resources/templates/vat/memif_create.vat b/resources/templates/vat/memif_create.vat
index 228c824c25..d9f2937029 100644
--- a/resources/templates/vat/memif_create.vat
+++ b/resources/templates/vat/memif_create.vat
@@ -1 +1 @@
-memif_create id {id} socket {socket} {role}
+memif_create id {id} socket-id {socket} {role}
diff --git a/resources/templates/vat/memif_create_lxc.vat b/resources/templates/vat/memif_create_lxc.vat
index 92e456c2a4..9c545436b9 100644
--- a/resources/templates/vat/memif_create_lxc.vat
+++ b/resources/templates/vat/memif_create_lxc.vat
@@ -1,7 +1,7 @@
-create memif id {memif_id1} socket /mnt/host/{socket1} slave
+create memif id {memif_id1} socket-id /mnt/host/{socket1} slave
set int state memif0/{memif_id1} up
-create memif id {memif_id2} socket /mnt/host/{socket2} slave
+create memif id {memif_id2} socket-id /mnt/host/{socket2} slave
set int state memif1/{memif_id2} up
set interface l2 xconnect memif1/{memif_id2} memif0/{memif_id1}