From 8d5bdfc7cca276db26f2733a978fda00e5bb994b Mon Sep 17 00:00:00 2001
From: dadav <33197631+dadav@users.noreply.github.com>
Date: Thu, 3 Oct 2019 12:05:04 +0200
Subject: [PATCH] Add create option

---
 builder/pwnagotchi.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/builder/pwnagotchi.yml b/builder/pwnagotchi.yml
index 03f9509..279dcf5 100644
--- a/builder/pwnagotchi.yml
+++ b/builder/pwnagotchi.yml
@@ -204,6 +204,7 @@
   - name: configure lo interface
     blockinfile:
       path: /etc/network/interfaces.d/lo-cfg
+      create: yes
       block: |
         auto lo
         iface lo inet loopback
@@ -211,6 +212,7 @@
   - name: configure wlan interface
     blockinfile:
       path: /etc/network/interfaces.d/wlan0-cfg
+      create: yes
       block: |
         allow-hotplug wlan0
         iface wlan0 inet static