Fix mount failure during installation (preseed/late_command).
This commit is contained in:
parent
c7f7977622
commit
e99732634e
1 changed files with 13 additions and 0 deletions
|
@ -24,6 +24,19 @@
|
||||||
state: mounted
|
state: mounted
|
||||||
loop:
|
loop:
|
||||||
"{{ live_images }}"
|
"{{ live_images }}"
|
||||||
|
when: not run_in_installer|default(false)|bool
|
||||||
|
notify: rebuild di-netboot menu
|
||||||
|
|
||||||
|
- name: loop mount iso images after reboot
|
||||||
|
mount:
|
||||||
|
path: "/var/lib/tftpboot/d-i/n-live/{{ item.name }}"
|
||||||
|
src: "/var/cache/di-netboot-assistant/{{ item.iso }}"
|
||||||
|
fstype: iso9660
|
||||||
|
opts: loop,ro,nofail
|
||||||
|
state: present
|
||||||
|
loop:
|
||||||
|
"{{ live_images }}"
|
||||||
|
when: run_in_installer|default(false)|bool
|
||||||
notify: rebuild di-netboot menu
|
notify: rebuild di-netboot menu
|
||||||
|
|
||||||
- name: prepare http downloads
|
- name: prepare http downloads
|
||||||
|
|
Loading…
Add table
Reference in a new issue