summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/vmdebootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/vmdebootstrap b/bin/vmdebootstrap
index 231472f..c2885a4 100755
--- a/bin/vmdebootstrap
+++ b/bin/vmdebootstrap
@@ -512,7 +512,7 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth
with open(ifc_file, 'w') as netfile:
netfile.write('source /etc/network/interfaces.d/*\n')
elif not os.path.exists(ifc_file):
- with open(iface_path, 'w') as netfile:
+ with open(ifc_file, 'a') as netfile:
netfile.write('source-directory /etc/network/interfaces.d\n')
if not os.path.exists(ifc_d):