Browse Source

Fedora CoreOS fixes (#7010)

* Fedora CoreOS: Fix for ethtool pre-installed

Fix error in rpm-ostree when ethtool is already insatlled (FCOS >= 32.20201104.3.0)

* Fedora CoreOS: Fix connection lost

Fedora CoreOS: Ignore connection lost due to reboot and continues the playbook
pull/7082/head
marcosfsch 3 years ago
committed by GitHub
parent
commit
9db4b949f2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. 3
      roles/bootstrap-os/tasks/bootstrap-fedora-coreos.yml

3
roles/bootstrap-os/tasks/bootstrap-fedora-coreos.yml

@ -29,7 +29,7 @@
when: need_bootstrap.rc != 0 when: need_bootstrap.rc != 0
- name: Install required packages on fedora coreos - name: Install required packages on fedora coreos
raw: "export http_proxy={{ http_proxy | default('') }};rpm-ostree install {{ fedora_coreos_packages|join(' ') }}"
raw: "export http_proxy={{ http_proxy | default('') }};rpm-ostree install --allow-inactive {{ fedora_coreos_packages|join(' ') }}"
become: true become: true
when: need_bootstrap.rc != 0 when: need_bootstrap.rc != 0
@ -44,6 +44,7 @@
raw: "nohup bash -c 'sleep 5s && shutdown -r now'" raw: "nohup bash -c 'sleep 5s && shutdown -r now'"
become: true become: true
ignore_errors: yes ignore_errors: yes
ignore_unreachable: yes
when: need_bootstrap.rc != 0 when: need_bootstrap.rc != 0
- name: Wait for the reboot to complete - name: Wait for the reboot to complete

Loading…
Cancel
Save