diff --git a/patches/packages/branding/0002-lxc-Use-our-servers-by-default.patch b/patches/packages/branding/0002-lxc-Use-our-servers-by-default.patch new file mode 100644 index 0000000000000000000000000000000000000000..777aba003675520cb29ae806d0f95c370d2150cf --- /dev/null +++ b/patches/packages/branding/0002-lxc-Use-our-servers-by-default.patch @@ -0,0 +1,58 @@ +From 97dbc1ee96333482975f9678c92da347f677a2df Mon Sep 17 00:00:00 2001 +From: Michal Hrusecky <Michal@Hrusecky.net> +Date: Wed, 30 Jan 2019 00:13:20 +0100 +Subject: [PATCH] lxc: Use our servers by default + +Signed-off-by: Michal Hrusecky <Michal@Hrusecky.net> +--- + utils/lxc/patches/030-turris-servers.patch | 38 ++++++++++++++++++++++ + 1 file changed, 38 insertions(+) + create mode 100644 utils/lxc/patches/030-turris-servers.patch + +diff --git a/utils/lxc/patches/030-turris-servers.patch b/utils/lxc/patches/030-turris-servers.patch +new file mode 100644 +index 0000000..cf9ebce +--- /dev/null ++++ b/utils/lxc/patches/030-turris-servers.patch +@@ -0,0 +1,38 @@ ++Index: lxc-2.1.1/config/etc/default.conf.unknown ++=================================================================== ++--- lxc-2.1.1.orig/config/etc/default.conf.unknown +++++ lxc-2.1.1/config/etc/default.conf.unknown ++@@ -1 +1,9 @@ ++-lxc.net.0.type = empty +++lxc.network.type = veth +++lxc.network.link = br-lan +++lxc.network.flags = up +++lxc.network.name = eth0 +++# Debian workaround +++lxc.tty = 4 +++lxc.pts = 1024 +++# Template to generate fixed MAC address +++lxc.network.hwaddr = x2:xx:xx:xx:xx:xx ++Index: lxc-2.1.1/templates/lxc-download.in ++=================================================================== ++--- lxc-2.1.1.orig/templates/lxc-download.in +++++ lxc-2.1.1/templates/lxc-download.in ++@@ -30,15 +30,15 @@ DOWNLOAD_ARCH= ++ DOWNLOAD_BUILD= ++ DOWNLOAD_COMPAT_LEVEL=4 ++ DOWNLOAD_DIST= ++-DOWNLOAD_FLUSH_CACHE="false" +++DOWNLOAD_FLUSH_CACHE="true" ++ DOWNLOAD_FORCE_CACHE="false" ++ DOWNLOAD_INTERACTIVE="false" ++-DOWNLOAD_KEYID="0xE7FB0CAEC8173D669066514CBAEFF88C22F6E216" +++DOWNLOAD_KEYID="0x96542441B2EF343B" ++ DOWNLOAD_LIST_IMAGES="false" ++ DOWNLOAD_MODE="system" ++ DOWNLOAD_READY_GPG="false" ++ DOWNLOAD_RELEASE= ++-DOWNLOAD_SERVER="images.linuxcontainers.org" +++DOWNLOAD_SERVER="`uci get lxc.lxc.url 2> /dev/null || echo repo.turris.cz/lxc`" ++ DOWNLOAD_SHOW_GPG_WARNING="true" ++ DOWNLOAD_SHOW_HTTP_WARNING="true" ++ DOWNLOAD_TARGET="system" +-- +2.20.1 +