Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4799

Pidora / Fedora • Re: Headless (mostly) Fedora CoreOS on RPi4 - A Brief Updated How To

$
0
0
Butane or Ignition config

Code:

variant: fcosversion: 1.0.0passwd:  users:    - name: admin      groups:        - "sudo"        - "docker"      password_hash: hiddensystemd:  units:    - name: docker.service      enabled: true    - name: containerd.service      enabled: true    - name: serial-getty@ttyS0.service      dropins:      - name: autologin-core.conf        contents: |          [Service]          # Override Execstart in main unit          ExecStart=          # Add new Execstart with `-` prefix to ignore failure          ExecStart=-/usr/sbin/agetty --autologin admin --noclear %I $TERM          TTYVTDisallocate=no          storage:  files:    - path: /etc/hostname      mode: 0644      contents:        inline: |          CoreOS              - path: /etc/profile.d/systemd-pager.sh      mode: 0644      contents:        inline: |          # Tell systemd to not use a pager when printing information          export SYSTEMD_PAGER=cat              - path: /etc/sysctl.d/20-silence-audit.conf      mode: 0644      contents:        inline: |          # Raise console message logging level from DEBUG (7) to WARNING (4)          # to hide audit messages from the interactive console          kernel.printk=4              - path: /etc/ssh/sshd_config.d/20-enable-passwords.conf      mode: 0644      contents:        inline: |          # Enable SSH password login          PasswordAuthentication yes       - path: /etc/NetworkManager/system-connections/wifi1.nmconnection      mode: 0600      contents:        inline: |          [connection]          id=Local          type=wifi          interface-name=wlan0          [wifi]          ssid=SRF_E090          mode=infrastructure          [wifi-security]          key-mgmt=wpa-psk          psk=hidden          [ipv4]          method=auto          [ipv6]          method=auto    - path: /etc/NetworkManager/system-connections/wifi2.nmconnection      mode: 0600      contents:        inline: |          [connection]          id=MobileHotSpot          type=wifi          interface-name=wlan0          [wifi]          ssid=FP4          mode=infrastructure          [wifi-security]          key-mgmt=wpa-psk          psk=hidden          [ipv4]          method=auto          [ipv6]          method=auto          links:    - path: /etc/localtime      target: ../usr/share/zoneinfo/Europe/Berlin

Statistics: Posted by PackElend — Thu Jan 02, 2025 7:10 pm



Viewing all articles
Browse latest Browse all 4799

Trending Articles