Use cp instead of rsync to copy cni binaries
Since rsync has been removed from hyperkube, this commit changes it to use cp instead.
This commit is contained in:
parent
d77729816b
commit
8ddf6cf971
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@
|
|||
and contiv_enable_api_proxy and contiv_generate_certificate"
|
||||
|
||||
- name: Contiv | Copy cni plugins from hyperkube
|
||||
command: "{{ docker_bin_dir }}/docker run --rm -v /opt/cni/bin:/cnibindir {{ hyperkube_image_repo }}:{{ hyperkube_image_tag }} /usr/bin/rsync -ac /opt/cni/bin/ /cnibindir/"
|
||||
command: "{{ docker_bin_dir }}/docker run --rm -v /opt/cni/bin:/cnibindir {{ hyperkube_image_repo }}:{{ hyperkube_image_tag }} /bin/bash -c '/bin/cp -a /opt/cni/bin/* /cnibindir/'"
|
||||
register: cni_task_result
|
||||
until: cni_task_result.rc == 0
|
||||
retries: 4
|
||||
|
|
Loading…
Reference in a new issue