[lxc-devel] [lxc-ci/master] Fixing cloud-init issue with network and dns resolving setup
mjrider on Github
lxc-bot at linuxcontainers.org
Thu Jun 11 06:23:19 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 565 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200610/5ade5314/attachment.bin>
-------------- next part --------------
From 7ee37cdfe4e8aec44ea7b327d3ce530f80881b79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Robbert=20M=C3=BCller?= <robbert.muller at dealerdirect.com>
Date: Thu, 11 Jun 2020 08:19:31 +0200
Subject: [PATCH] Fixing cloud-init issue with network and dns resolving setup
---
images/debian.yaml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/images/debian.yaml b/images/debian.yaml
index 8455ac8..736f8cb 100644
--- a/images/debian.yaml
+++ b/images/debian.yaml
@@ -859,6 +859,24 @@ files:
source /etc/network/interfaces.d/*.cfg
types:
- container
+ variants:
+ - default
+
+- path: /etc/network/interfaces
+ generator: dump
+ content: |-
+ # This file describes the network interfaces available on your system
+ # and how to activate them. For more information, see interfaces(5).
+
+ # The loopback network interface
+ auto lo
+ iface lo inet loopback
+
+ source /etc/network/interfaces.d/*.cfg
+ types:
+ - container
+ variants:
+ - cloud
- path: /etc/network/interfaces
generator: dump
@@ -969,6 +987,7 @@ packages:
- packages:
- cloud-init
+ - openresolv
action: install
variants:
- cloud
More information about the lxc-devel
mailing list