Show use of NFS in boot entries.
This commit is contained in:
parent
feaf22a28b
commit
68958b2371
2 changed files with 4 additions and 4 deletions
|
@ -97,7 +97,7 @@
|
||||||
marker: "# {mark} ANSIBLE MANAGED BLOCK {{ item.item.name }}"
|
marker: "# {mark} ANSIBLE MANAGED BLOCK {{ item.item.name }}"
|
||||||
block: |
|
block: |
|
||||||
:{{ item.item.name }}
|
:{{ item.item.name }}
|
||||||
echo Booting Debian GNU/Linux {{ item.item.name }}
|
echo Booting Debian GNU/Linux {{ item.item.name }} NFS
|
||||||
kernel ${210:string}d-i/n-live/{{ item.item.name }}/live/vmlinuz-{{ item.stdout }} \
|
kernel ${210:string}d-i/n-live/{{ item.item.name }}/live/vmlinuz-{{ item.stdout }} \
|
||||||
initrd=initrd.img-5.10.0-13-amd64 {{ boot_params|join(' ') }} \
|
initrd=initrd.img-5.10.0-13-amd64 {{ boot_params|join(' ') }} \
|
||||||
nfsroot={{ ansible_default_ipv4.address }}:/var/lib/tftpboot/d-i/n-live/{{ item.item.name }}/
|
nfsroot={{ ansible_default_ipv4.address }}:/var/lib/tftpboot/d-i/n-live/{{ item.item.name }}/
|
||||||
|
@ -113,7 +113,7 @@
|
||||||
insertbefore: "^menuentry 'Boot from local disk..'"
|
insertbefore: "^menuentry 'Boot from local disk..'"
|
||||||
marker: "# {mark} ANSIBLE MANAGED BLOCK {{ item.item.name }}"
|
marker: "# {mark} ANSIBLE MANAGED BLOCK {{ item.item.name }}"
|
||||||
block: |
|
block: |
|
||||||
menuentry 'Debian GNU/Linux Live {{ item.item.name }}' {
|
menuentry 'Debian GNU/Linux Live {{ item.item.name }} NFS' {
|
||||||
linux (http,{{ ansible_default_ipv4.address }})/d-i/n-live/{{ item.item.name }}/live/vmlinuz-{{ item.stdout }} \
|
linux (http,{{ ansible_default_ipv4.address }})/d-i/n-live/{{ item.item.name }}/live/vmlinuz-{{ item.stdout }} \
|
||||||
{{ boot_params|join(' ') }} \
|
{{ boot_params|join(' ') }} \
|
||||||
nfsroot={{ ansible_default_ipv4.address }}:/var/lib/tftpboot/d-i/n-live/{{ item.item.name }}/
|
nfsroot={{ ansible_default_ipv4.address }}:/var/lib/tftpboot/d-i/n-live/{{ item.item.name }}/
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
marker: "# {mark} ANSIBLE MANAGED BLOCK {{ item }}"
|
marker: "# {mark} ANSIBLE MANAGED BLOCK {{ item }}"
|
||||||
block: |
|
block: |
|
||||||
:{{ item }}
|
:{{ item }}
|
||||||
echo Booting Debian GNU/Linux EDU LIVE
|
echo Booting Debian GNU/Linux EDU LIVE NFS
|
||||||
kernel ${210:string}d-i/n-live/{{ item }}/live/vmlinuz \
|
kernel ${210:string}d-i/n-live/{{ item }}/live/vmlinuz \
|
||||||
initrd=initrd.img-5.10.0-13-amd64 {{ boot_params|join(' ') }} \
|
initrd=initrd.img-5.10.0-13-amd64 {{ boot_params|join(' ') }} \
|
||||||
nfsroot={{ ansible_default_ipv4.address }}:/var/lib/tftpboot/d-i/n-live/{{ item }}/
|
nfsroot={{ ansible_default_ipv4.address }}:/var/lib/tftpboot/d-i/n-live/{{ item }}/
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
insertbefore: "^menuentry 'Boot from local disk..'"
|
insertbefore: "^menuentry 'Boot from local disk..'"
|
||||||
marker: "# {mark} ANSIBLE MANAGED BLOCK {{ item }}"
|
marker: "# {mark} ANSIBLE MANAGED BLOCK {{ item }}"
|
||||||
block: |
|
block: |
|
||||||
menuentry 'Debian GNU/Linux Live {{ item }}' {
|
menuentry 'Debian GNU/Linux Live {{ item }} NFS' {
|
||||||
linux (http,{{ ansible_default_ipv4.address }})/d-i/n-live/{{ item }}/live/vmlinuz \
|
linux (http,{{ ansible_default_ipv4.address }})/d-i/n-live/{{ item }}/live/vmlinuz \
|
||||||
{{ boot_params|join(' ') }} \
|
{{ boot_params|join(' ') }} \
|
||||||
nfsroot={{ ansible_default_ipv4.address }}:/var/lib/tftpboot/d-i/n-live/{{ item }}/
|
nfsroot={{ ansible_default_ipv4.address }}:/var/lib/tftpboot/d-i/n-live/{{ item }}/
|
||||||
|
|
Loading…
Add table
Reference in a new issue