add requirement
diff --git a/opencontrail/compute.sls b/opencontrail/compute.sls
index 12984a4..394b23f 100644
--- a/opencontrail/compute.sls
+++ b/opencontrail/compute.sls
@@ -17,6 +17,8 @@
 /etc/network/if-pre-up.d/if-vhost0:
   file.symlink:
     - target: /usr/lib/contrail/if-vhost0
+    - require:
+      - pkg: opencontrail_compute_packages
 
 {% if compute.version == 2.2 %}