From 1da37fd05328976894035176faed6811d003dd4c Mon Sep 17 00:00:00 2001 From: varac Date: Tue, 27 Jan 2015 22:10:06 +0100 Subject: provide apt.url key that can be customized in provider.json Change-Id: Ic8bcca7fde25b4eb540aab8cc4114748b9b2cfd7 --- provider_base/common.json | 3 +++ provider_base/provider.json | 3 +++ 2 files changed, 6 insertions(+) (limited to 'provider_base') diff --git a/provider_base/common.json b/provider_base/common.json index 649db0d9..c25f59b4 100644 --- a/provider_base/common.json +++ b/provider_base/common.json @@ -50,5 +50,8 @@ "platform": { "version": "= Leap::Platform.version.to_s", "major_version": "= Leap::Platform.major_version" + }, + "apt": { + "url": "= provider.apt.url" } } diff --git a/provider_base/provider.json b/provider_base/provider.json index 77437935..d66a01c4 100644 --- a/provider_base/provider.json +++ b/provider_base/provider.json @@ -59,5 +59,8 @@ "client_version": { "min": "0.5", "max": null + }, + "apt": { + "url": "http://http.debian.net/debian/" } } -- cgit v1.2.3 From 1b3455a697ae74b34f28f4960bf0a274e27a1ee8 Mon Sep 17 00:00:00 2001 From: varac Date: Tue, 27 Jan 2015 22:40:08 +0100 Subject: provide way to customize all three apt sources urls (basic, security, backports) Change-Id: I5542b320bb1edb52c63350b5e4fd2af681991fb5 --- provider_base/common.json | 6 +++++- provider_base/provider.json | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'provider_base') diff --git a/provider_base/common.json b/provider_base/common.json index c25f59b4..cc4d2557 100644 --- a/provider_base/common.json +++ b/provider_base/common.json @@ -52,6 +52,10 @@ "major_version": "= Leap::Platform.major_version" }, "apt": { - "url": "= provider.apt.url" + "url": { + "basic": "= provider.apt.url.basic", + "security": "= provider.apt.url.security", + "backports": "= provider.apt.url.backports" + } } } diff --git a/provider_base/provider.json b/provider_base/provider.json index d66a01c4..84d033c5 100644 --- a/provider_base/provider.json +++ b/provider_base/provider.json @@ -61,6 +61,10 @@ "max": null }, "apt": { - "url": "http://http.debian.net/debian/" + "url": { + "basic": "http://http.debian.net/debian/", + "security": "http://security.debian.org/", + "backports": "http://http.debian.net/debian/" + } } } -- cgit v1.2.3