Remove newline from lxc_cache_download_template_options
When the template options are applied, a newline is added
to the end of lxc_cache_download_template_options before
the application of the keyserver option, causing this:
"... --variant default \n --keyserver ..."
While this works, it could cause unexpected behaviour
(perhaps not applying the keyserver option) and it is
therefore better to be rid of the newline.
Change-Id: I8099d6b0502c281572f9e45573a4d6bbb8c90c44
(cherry picked from commit e88e41c4af
)
This commit is contained in:
parent
9d0bd153cc
commit
258dad41ce
|
@ -94,7 +94,7 @@ lxc_image_cache_server: images.linuxcontainers.org
|
|||
lxc_container_template: download
|
||||
lxc_container_variant: default
|
||||
lxc_container_download_template_extra_options: ""
|
||||
lxc_container_download_template_options: >
|
||||
lxc_container_download_template_options: >-
|
||||
--dist {{ lxc_container_map.distro }}
|
||||
--release {{ lxc_container_map.release }}
|
||||
--arch {{ lxc_container_map.arch }}
|
||||
|
|
Loading…
Reference in New Issue