Skip to content
Snippets Groups Projects
Verified Commit c392043e authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

install_arch: Remove problematic ~/.bashrc which breaks mkinitcpio

In the Hetzner rescue environment, they have begun setting
TMPDIR=/tmp/hwc which breaks mkinitcpio, so remove the ~/.bashrc file so
that is not set.
parent b4d5ff31
No related branches found
No related tags found
No related merge requests found
Pipeline #83979 passed
......@@ -10,6 +10,11 @@
- "'Rescue environment based on Alpine Linux' not in motd_contents.stdout"
- "'OS Rescue Environment' not in motd_contents.stdout"
# It sources some files which sets TMPDIR=/tmp/hwc which breaks mkinitcpio
- name: Remove problematic ~/.bashrc
file: path=/root/.bashrc state=absent
when: "'Hetzner Rescue' in motd_contents.stdout"
- name: Prepare Equinix Metal rescue system
when: ansible_facts['os_family'] == "Alpine"
block:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment