mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -296,21 +296,21 @@
|
|||||||
line: '{{ item }}'
|
line: '{{ item }}'
|
||||||
with_items: "{{system.modules}}"
|
with_items: "{{system.modules}}"
|
||||||
|
|
||||||
- name: change root partition
|
#- name: change root partition
|
||||||
replace:
|
# replace:
|
||||||
dest: /boot/cmdline.txt
|
# dest: /boot/cmdline.txt
|
||||||
backup: no
|
# backup: no
|
||||||
regexp: "root=PARTUUID=[a-zA-Z0-9\\-]+"
|
# regexp: "root=PARTUUID=[a-zA-Z0-9\\-]+"
|
||||||
replace: "root=/dev/mmcblk0p2"
|
# replace: "root=/dev/mmcblk0p2"
|
||||||
|
|
||||||
- name: configure /boot/cmdline.txt
|
#- name: configure /boot/cmdline.txt
|
||||||
lineinfile:
|
# lineinfile:
|
||||||
path: /boot/cmdline.txt
|
# path: /boot/cmdline.txt
|
||||||
backrefs: True
|
# backrefs: True
|
||||||
state: present
|
# state: present
|
||||||
backup: no
|
# backup: no
|
||||||
regexp: '(.*)$'
|
# regexp: '(.*)$'
|
||||||
line: '\1 modules-load=dwc2,g_ether'
|
# line: '\1 modules-load=dwc2,g_ether'
|
||||||
|
|
||||||
- name: Add pwnlog alias
|
- name: Add pwnlog alias
|
||||||
lineinfile:
|
lineinfile:
|
||||||
|
Reference in New Issue
Block a user