disable grub menu from iso to start installation without interaction
This commit is contained in:
1 parent
4764d01cab
commit
7611c8db8b
2 files changed
+173
No files matched your search
@@ -48,6 +48,19 @@
|
||||
dest: "/opt/ansiblepackages/debianunattended/{{ inventory_hostname }}/preseed.cfg"
|
||||
delegate_to: localhost
|
||||
|
||||
- name: generate /opt/ansiblepackages/debianunattended/{{ inventory_hostname }}/isofiles/boot/grub/grub.cfg
|
||||
template:
|
||||
src: grub.cfg.j2
|
||||
dest: "/opt/ansiblepackages/debianunattended/{{ inventory_hostname }}/isofiles/boot/grub/grub.cfg"
|
||||
delegate_to: localhost
|
||||
|
||||
- name: edit /opt/ansiblepackages/debianunattended/{{ inventory_hostname }}/isofiles/isolinux/isolinux.cfg
|
||||
ansible.builtin.lineinfile:
|
||||
path: /opt/ansiblepackages/debianunattended/{{ inventory_hostname }}/isofiles/isolinux/isolinux.cfg
|
||||
state: absent
|
||||
line: 'default vesamenu.c32'
|
||||
delegate_to: localhost
|
||||
|
||||
- name: generate /opt/ansiblepackages/debianunattended/{{ inventory_hostname }}/md5sum.sh
|
||||
template:
|
||||
src: md5sum.sh.j2
|
||||
|
||||
Reference in new issue
Block a user