fix: flatcar bootstrap (#10363)

pull/10374/head
tenni 2023-08-18 18:14:29 +03:00 committed by GitHub
parent cafe4f1352
commit bf29ea55cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

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

View File

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