diff options
-rwxr-xr-x | build/make_repo.sh | 2 | ||||
-rw-r--r-- | build/templates/Debian_juno.tmpl | 4 | ||||
-rw-r--r-- | build/templates/Debian_kilo.tmpl | 4 | ||||
-rw-r--r-- | build/templates/Debian_liberty.tmpl | 6 | ||||
-rw-r--r-- | deploy/adapters/ansible/roles/common/vars/Debian.yml | 4 |
5 files changed, 17 insertions, 3 deletions
diff --git a/build/make_repo.sh b/build/make_repo.sh index 15e1f16e..ce24b971 100755 --- a/build/make_repo.sh +++ b/build/make_repo.sh @@ -193,7 +193,7 @@ function make_all_repo() dracut-config-rescue-033-241.el7_1.3 dracut-network-033-241.el7_1.3" for opv in kilo liberty; do - make_repo --os-ver rhel7 --package-tag kilo \ + make_repo --os-ver rhel7 --package-tag $opv \ --ansible-dir $WORK_PATH/deploy/adapters/ansible \ --default-package "rsyslog-7.6.7-1.el7 strace net-tools wget vim openssh-server \ dracut-config-rescue-033-241.el7_1.5 dracut-network-033-241.el7_1.5" diff --git a/build/templates/Debian_juno.tmpl b/build/templates/Debian_juno.tmpl index 4cf42975..95375693 100644 --- a/build/templates/Debian_juno.tmpl +++ b/build/templates/Debian_juno.tmpl @@ -20,6 +20,10 @@ sudo apt-get update sudo apt-get install reprepro -y +cd /var/cache/apt/ +sudo apt-get download libexpat1 +cd - + #download packages #set packages = $getVar('default_packages', []) #for pkg in $packages diff --git a/build/templates/Debian_kilo.tmpl b/build/templates/Debian_kilo.tmpl index d8efafbd..18c7fa00 100644 --- a/build/templates/Debian_kilo.tmpl +++ b/build/templates/Debian_kilo.tmpl @@ -18,6 +18,10 @@ sudo apt-get update sudo apt-get install reprepro -y +cd /var/cache/apt/ +sudo apt-get download libexpat1 +cd - + #download packages #set packages = $getVar('default_packages', []) #for pkg in $packages diff --git a/build/templates/Debian_liberty.tmpl b/build/templates/Debian_liberty.tmpl index 93bd9f3e..4bb209eb 100644 --- a/build/templates/Debian_liberty.tmpl +++ b/build/templates/Debian_liberty.tmpl @@ -21,6 +21,12 @@ sudo apt-get update sudo apt-get install reprepro -y +sudo apt-get -d install pciutils -y + +cd /var/cache/apt/ +sudo apt-get download libexpat1 +cd - + #download packages #set packages = $getVar('default_packages', []) #for pkg in $packages diff --git a/deploy/adapters/ansible/roles/common/vars/Debian.yml b/deploy/adapters/ansible/roles/common/vars/Debian.yml index 71218186..1d7972eb 100644 --- a/deploy/adapters/ansible/roles/common/vars/Debian.yml +++ b/deploy/adapters/ansible/roles/common/vars/Debian.yml @@ -9,13 +9,13 @@ --- packages: - ubuntu-cloud-keyring - #- python-dev + - python-dev - openvswitch-datapath-dkms - openvswitch-switch - python-memcache - python-iniparse - python-lxml - - python-d* #TODO, need remove + #- python-d* #TODO, need remove pip_packages: - crudini |