Revert "Use internal aptly when testing models"
This reverts commit 3a3b50664260fa9aab4c2d64e7b1a50aa4814ac1.
Change-Id: I199f31fbcfeb7dd7a6e66530e282e05539884db3
diff --git a/src/com/mirantis/mk/SaltModelTesting.groovy b/src/com/mirantis/mk/SaltModelTesting.groovy
index 1e3174e..35c1e78 100644
--- a/src/com/mirantis/mk/SaltModelTesting.groovy
+++ b/src/com/mirantis/mk/SaltModelTesting.groovy
@@ -41,9 +41,6 @@
dockerMaxCpusOption = "--cpus=${dockerMaxCpus}"
}
- sh("cd /srv/salt && find . -type f \\( -name '*.yml' -or -name '*.sh' \\) -exec sed -i 's/apt.mirantis.com/apt.mirantis.net:8085/g' {} \\;")
- sh("cd /srv/salt && find . -type f \\( -name '*.yml' -or -name '*.sh' \\) -exec sed -i 's/apt.mirantis.com/apt.mirantis.net:8085/g' {} \\;")
-
img.inside("-u root:root --hostname=${masterName} --ulimit nofile=4096:8192 ${dockerMaxCpusOption}") {
if (!imageFound) {
sh("apt-get update && apt-get install -y curl git python-pip sudo python-pip python-dev zlib1g-dev git")