Skip to content

Commit

Permalink
fix: flatcar bootstrap (kubernetes-sigs#10363)
Browse files Browse the repository at this point in the history
  • Loading branch information
tenni-paws authored and pedromcpedro committed May 8, 2024
1 parent 7063a25 commit 5629ff8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions roles/bootstrap-os/files/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5629ff8

Please sign in to comment.