Implement livebox gnome-edu image build.
This commit is contained in:
parent
6438585128
commit
829b8b4d3b
55 changed files with 608 additions and 4 deletions
|
@ -38,11 +38,16 @@
|
|||
line: "/var/lib/tftpboot/d-i/n-live/ *(ro,crossmnt,no_subtree_check)"
|
||||
notify: export nfs
|
||||
|
||||
- name: configure ipxe boot menu address
|
||||
- name: configure ipxe boot menu address and headline
|
||||
replace:
|
||||
path: /etc/di-netboot-assistant/ipxemenu.HEAD
|
||||
regexp: '^(set 210:string tftp://\${next-server}/)$'
|
||||
replace: '#\1\nset 210:string http://{{ ansible_default_ipv4.address }}/'
|
||||
regexp: "{{ item.reg }}"
|
||||
replace: "{{ item.rep }}"
|
||||
loop:
|
||||
- reg: '^(set 210:string tftp://\${next-server}/)$'
|
||||
rep: '#\1\nset 210:string http://{{ ansible_default_ipv4.address }}/'
|
||||
- reg: '^#(item --gap -- -- Customized Boot Entries.*)$'
|
||||
rep: '\1'
|
||||
notify: rebuild di-netboot menu
|
||||
|
||||
- name: configure grub boot menu addresses
|
||||
|
@ -57,7 +62,7 @@
|
|||
- name: prepare debian live nfs boot entry title
|
||||
lineinfile:
|
||||
path: /etc/di-netboot-assistant/ipxemenu.HEAD
|
||||
insertafter: '^menu iPXE Boot Menu'
|
||||
insertafter: '-- Customized Boot Entries --'
|
||||
line: "item {{ item.name }} Debian GNU/Linux {{ item.name }} NFS"
|
||||
loop:
|
||||
"{{ live_images }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue