diff --git a/builder/orangepi.yml b/builder/orangepi.yml index 462db6f8..c7949af7 100644 --- a/builder/orangepi.yml +++ b/builder/orangepi.yml @@ -288,43 +288,6 @@ path: /boot/ssh state: touch - #- name: adjust /boot/config.txt - # lineinfile: - # dest: /boot/config.txt - # insertafter: EOF - # line: '{{ item }}' - # with_items: "{{system.boot_options}}" - - - name: adjust /etc/modules - lineinfile: - dest: /etc/modules - insertafter: EOF - line: '{{ item }}' - with_items: "{{system.modules}}" - - - name: change g_serial to g_ether - lineinfile: - dest: /etc/modules - regexp: '^g_serial' - line: "g_ether" - state: present - - #- name: change root partition - # replace: - # dest: /boot/cmdline.txt - # backup: no - # regexp: "root=PARTUUID=[a-zA-Z0-9\\-]+" - # replace: "root=/dev/mmcblk0p2" - - #- name: configure /boot/cmdline.txt - # lineinfile: - # path: /boot/cmdline.txt - # backrefs: True - # state: present - # backup: no - # regexp: '(.*)$' - # line: '\1 modules-load=dwc2,g_ether' - - name: Add pwnlog alias lineinfile: dest: /home/pi/.bashrc diff --git a/builder/pwnagotchi.json.pkr.hcl b/builder/pwnagotchi.json.pkr.hcl index 1bf04aed..639e296a 100644 --- a/builder/pwnagotchi.json.pkr.hcl +++ b/builder/pwnagotchi.json.pkr.hcl @@ -185,6 +185,7 @@ build { provisioner "ansible-local" { command = "ANSIBLE_FORCE_COLOR=1 PYTHONUNBUFFERED=1 PWN_VERSION=${var.pwn_version} PWN_HOSTNAME=${var.pwn_hostname} ansible-playbook" extra_arguments = ["--extra-vars \"ansible_python_interpreter=/usr/bin/python3\""] + playbook_dir = "../builder/" playbook_file = "../builder/raspberrypi32.yml" } }