Browse Source

fix: flatcar bootstrap (#10363)

pull/10374/head
tenni 1 year ago
committed by GitHub
parent
commit
bf29ea55cf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions
  1. 4
      roles/bootstrap-os/files/bootstrap.sh
  2. 2
      roles/kubernetes/preinstall/tasks/0081-ntp-configurations.yml

4
roles/bootstrap-os/files/bootstrap.sh

@ -39,4 +39,8 @@ mv -n "${PYPY_FILENAME}" pypy3
ln -s ./pypy3/bin/pypy3 python
$BINDIR/python --version
# install PyYAML
./python -m ensurepip
./python -m pip install pyyaml
touch $BINDIR/.bootstrapped

2
roles/kubernetes/preinstall/tasks/0081-ntp-configurations.yml

@ -30,7 +30,7 @@
ntp_service_name: >-
{% if ntp_package == "chrony" -%}
chronyd
{%- elif ansible_os_family == 'RedHat' -%}
{%- elif ansible_os_family in ["Flatcar", "Flatcar Container Linux by Kinvolk", "RedHat"] -%}
ntpd
{%- else -%}
ntp

Loading…
Cancel
Save