mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Add create option
This commit is contained in:
@ -204,6 +204,7 @@
|
|||||||
- name: configure lo interface
|
- name: configure lo interface
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: /etc/network/interfaces.d/lo-cfg
|
path: /etc/network/interfaces.d/lo-cfg
|
||||||
|
create: yes
|
||||||
block: |
|
block: |
|
||||||
auto lo
|
auto lo
|
||||||
iface lo inet loopback
|
iface lo inet loopback
|
||||||
@ -211,6 +212,7 @@
|
|||||||
- name: configure wlan interface
|
- name: configure wlan interface
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: /etc/network/interfaces.d/wlan0-cfg
|
path: /etc/network/interfaces.d/wlan0-cfg
|
||||||
|
create: yes
|
||||||
block: |
|
block: |
|
||||||
allow-hotplug wlan0
|
allow-hotplug wlan0
|
||||||
iface wlan0 inet static
|
iface wlan0 inet static
|
||||||
|
Reference in New Issue
Block a user