You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

installer.yml 877B

6 vuotta sitten
6 vuotta sitten
6 vuotta sitten
6 vuotta sitten
1234567891011121314151617181920212223242526272829
  1. ---
  2. - name: copy linux kernel
  3. copy:
  4. src: /usr/lib/debian-installer/images/9/amd64/text/debian-installer/amd64/linux
  5. dest: "{{debian_installer_directory}}/linux"
  6. remote_src: true
  7. - name: copy initrd for customization
  8. shell: gunzip -c
  9. /usr/lib/debian-installer/images/9/amd64/text/debian-installer/amd64/initrd.gz
  10. > {{debian_installer_directory}}/initrd
  11. - name: insert files into initrd
  12. shell: echo {{item}} | cpio --create --format=newc --append --file=initrd
  13. args:
  14. chdir: "{{debian_installer_directory}}"
  15. with_items:
  16. - preseed.cfg
  17. - run.sh
  18. - name: compress custom initrd
  19. command: gzip -f {{debian_installer_directory}}/initrd
  20. - name: merge initrd.gz and firmware.cpio.gz
  21. shell: cat
  22. /opt/debian-installer-unofficial-firmware.cpio.gz
  23. >> {{debian_installer_directory}}/initrd.gz
  24. when: debian_installer_nonfree_firmware