1. 08 Nov, 2021 3 commits
  2. 05 Nov, 2021 1 commit
  3. 04 Nov, 2021 2 commits
  4. 20 Oct, 2021 1 commit
  5. 24 Sep, 2021 8 commits
  6. 25 Jun, 2021 1 commit
  7. 22 Jun, 2021 1 commit
  8. 14 Oct, 2020 5 commits
  9. 30 Sep, 2020 2 commits
  10. 15 Sep, 2020 3 commits
  11. 14 Sep, 2020 1 commit
  12. 08 Sep, 2020 10 commits
  13. 21 Aug, 2020 2 commits
    • Leo Le Bouter's avatar
      Add metadata-collect dracut module · 025a9bea
      Leo Le Bouter authored
      To install the dracut module on your current system, change into
      the dracut.module directory then run:
      
      ```
      $ ERP5_USER="user" ERP5_PASS="pass" \
        ERP5_BASE_URL="https://example.local/erp5" \
        make
      $ sudo make install
      ```
      
      To uninstall:
      
      ```
      $ sudo make uninstall
      ```
      
      Then in a dracut.conf file, to include it you can add:
      
      ```
      add_dracutmodules="metadata-collect"
      ```
      
      You will also need to append "ip=dhcp rd.neednet=1" to the
      kernel_cmdline directive inside the dracut.conf so that the
      initramfs requests networking for the agent to upload results.
      
      Make sure the dracut network modules are installed, on Debian
      that is the dracut-network package.
      You can otherwise check their presence using:
      
      ```
      $ dracut --list-modules | grep network
      ```
      
      There you should see a few modules.
      025a9bea
    • Leo Le Bouter's avatar
      Use rustls instead of openssl · 4d94b540
      Leo Le Bouter authored
      With rustls it's easier to embed the root CA certificates inside
      the compiled binary itself using the webpki-roots crate. We need to
      do this because it's the easiest way of getting TLS certificate
      validation working inside the initramfs where /etc/ssl/certs or
      else does not exist.
      4d94b540