Update test repos URLs

Change-Id: Ib526124a6441cacfb0cfa2c561c47dda89b4a991
Related: PROD-33984
Related: PROD-33634
diff --git a/tests/pillar/repo_openstack_pike.sls b/tests/pillar/repo_openstack_pike.sls
index 03d0184..8905a98 100644
--- a/tests/pillar/repo_openstack_pike.sls
+++ b/tests/pillar/repo_openstack_pike.sls
@@ -2,7 +2,11 @@
   system:
     enabled: true
     repo:
-      mirantis_openstack:
-        source: "deb http://mirror.mirantis.com/nightly/openstack-pike/xenial xenial main"
+      mirantis_openstack_repo:
+        source: "deb http://mirror.mirantis.com/nightly/openstack-pike/{{ grains.get('oscodename') }} {{ grains.get('oscodename') }} main"
         architectures: amd64
-        key_url: "http://mirror.mirantis.com/nightly/openstack-pike/xenial/archive-pike.key"
+        key_url: "http://mirror.mirantis.com/nightly/openstack-pike/{{ grains.get('oscodename') }}/archive-pike.key"
+        pin:
+        - pin: 'release l=pike'
+          priority: 1050
+          package: '*'
\ No newline at end of file