Skip to content
Snippets Groups Projects
Verified Commit f36a90be authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

roles/install_arch: Remove genfstab

Flags for the root filesystem should be specified on the kernel command
line, e.g. rootflags=noatime,discard,compress=lzo . I'd argue having an
entry for / in fstab is harmful since you shouldn't boot with the wrong
flags in the first place.

Since there are no other filesystems, genfstab becomes useless.
parent 4b03a422
No related branches found
No related tags found
No related merge requests found
...@@ -120,9 +120,6 @@ ...@@ -120,9 +120,6 @@
- name: run mkinitcpio - name: run mkinitcpio
command: chroot /mnt mkinitcpio -p linux command: chroot /mnt mkinitcpio -p linux
- name: generate fstab
command: chroot /tmp/root.x86_64 bash -c "genfstab -p -L /mnt >> /etc/fstab"
- name: configure network - name: configure network
template: src=10-static-ethernet.network.j2 dest=/mnt/etc/systemd/network/10-static-ethernet.network owner=root group=root mode=0644 template: src=10-static-ethernet.network.j2 dest=/mnt/etc/systemd/network/10-static-ethernet.network owner=root group=root mode=0644
......
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