diff options
author | juraj.linkes <juraj.linkes@pantheon.tech> | 2019-07-10 11:10:34 +0200 |
---|---|---|
committer | juraj.linkes <juraj.linkes@pantheon.tech> | 2019-07-10 13:50:39 +0200 |
commit | e45404bf7b8cbdb10adf85815c2e005134e463ad (patch) | |
tree | dd1b3d44cfc31beee9c0f31734595a32bf1ec30f /resources/tools/testbed-setup/ansible/roles/sut/tasks | |
parent | d5a0c7319ac12bbf56cfae8d9c6778bb2834f7dd (diff) |
Modify kernel VM download to custom build
Instead of downloading linux-image-kvm, build custom initrd from
currently used kernel on perf sut or vpp device host.
Change-Id: I836f9c5264695c44566b7d52f3ec03e26a474524
Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/sut/tasks')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/sut/tasks/ubuntu_bionic.yaml | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/sut/tasks/ubuntu_bionic.yaml b/resources/tools/testbed-setup/ansible/roles/sut/tasks/ubuntu_bionic.yaml index 962c333276..b562ec1158 100644 --- a/resources/tools/testbed-setup/ansible/roles/sut/tasks/ubuntu_bionic.yaml +++ b/resources/tools/testbed-setup/ansible/roles/sut/tasks/ubuntu_bionic.yaml @@ -27,20 +27,6 @@ install_recommends: False tags: install-csit-dependencies -- name: Get kernel-kvm version - shell: "apt-cache depends -i linux-image-kvm | grep Depends: | cut -d' ' -f4" - register: 'linux__image_kvm_read' - tags: install-kernelvm - -- name: Download kernel-kvm - shell: "apt-get -y download {{ linux__image_kvm_read.stdout }}" - args: - warn: false # Prevent warning as APT module does not support download. - register: 'linux__image_kvm_download' - when: 'linux__image_kvm_read' - tags: install-kernelvm - -- name: Unpack kernel-kvm - shell: "dpkg --extract {{ linux__image_kvm_read.stdout }}_*.deb /opt/" - when: 'linux__image_kvm_download' - tags: install-kernelvm +- name: Kernel VM install + include_tasks: '../../common/tasks/kernel_install.yaml' + tags: install-kernel-image |