summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-10-19 04:01:21 +0000
committerGerrit Code Review <review@openstack.org>2018-10-19 04:01:21 +0000
commitec025ff03d55c40eb0f29d95f1f51b46e16c8834 (patch)
tree999428a210c02be420d634e33d0bfbbe7cd39049
parent07d263de0b70bd7c26c4c0a11fdc694399f03965 (diff)
parent86080a7db047afd6257e6303c0958a387a0c44b9 (diff)
Merge "Fix DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE regex typo"HEADmaster
-rwxr-xr-xdiskimage_builder/elements/ubuntu/pre-install.d/01-set-ubuntu-mirror2
1 files changed, 1 insertions, 1 deletions
diff --git a/diskimage_builder/elements/ubuntu/pre-install.d/01-set-ubuntu-mirror b/diskimage_builder/elements/ubuntu/pre-install.d/01-set-ubuntu-mirror
index 71be18f..efde278 100755
--- a/diskimage_builder/elements/ubuntu/pre-install.d/01-set-ubuntu-mirror
+++ b/diskimage_builder/elements/ubuntu/pre-install.d/01-set-ubuntu-mirror
@@ -12,7 +12,7 @@ DIB_DISTRIBUTION_MIRROR=${DIB_DISTRIBUTION_MIRROR:-}
12 12
13while IFS= read line 13while IFS= read line
14do 14do
15 if [[ "$line" =~ "${DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE:-}" ]]; then 15 if [[ "$line" =~ ${DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE:-} ]]; then
16 # append line unmodified 16 # append line unmodified
17 echo "$line" | tee --append /etc/apt/sources.list.new 17 echo "$line" | tee --append /etc/apt/sources.list.new
18 else 18 else